summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-03-07 16:36:37 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-09 11:31:54 +0100
commit163fe301b9f78b6de57d0014eafe504fd20c0cd4 (patch)
tree2d36d1390b2209fac0a3b7edc1e035dd64247306
parentc312530589ed9524fc7cc921105dc9b67ea32d6a (diff)
downloadlinux-163fe301b9f78b6de57d0014eafe504fd20c0cd4.tar.gz
linux-163fe301b9f78b6de57d0014eafe504fd20c0cd4.tar.bz2
linux-163fe301b9f78b6de57d0014eafe504fd20c0cd4.zip
staging: vt6656: vnt_rf_setpower: fix missing rate RATE_12M
When the driver sets this rate a power of zero value is set causing data flow stoppage until another rate is tried. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Cc: <stable@vger.kernel.org> # v3.17+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6656/rf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c
index c42cde59f598..c4286ccac320 100644
--- a/drivers/staging/vt6656/rf.c
+++ b/drivers/staging/vt6656/rf.c
@@ -640,6 +640,7 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
break;
case RATE_6M:
case RATE_9M:
+ case RATE_12M:
case RATE_18M:
case RATE_24M:
case RATE_36M: