summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-03-07 17:04:54 +0000
committerLuis Henriques <luis.henriques@canonical.com>2015-03-30 11:11:17 +0100
commit3112454b099bb9cd078c603bb4429204d32d9cc3 (patch)
tree6caab13b5bf48f7227d2451d344174d6f8a0b111 /drivers/staging
parent03def640ecfc08249a07ee3beb911e284912311d (diff)
downloadlinux-stable-3112454b099bb9cd078c603bb4429204d32d9cc3.tar.gz
linux-stable-3112454b099bb9cd078c603bb4429204d32d9cc3.tar.bz2
linux-stable-3112454b099bb9cd078c603bb4429204d32d9cc3.zip
vt6655: RFbSetPower fix missing rate RATE_12M
commit 40c8790bcb7ac74f3038153cd09310e220c6a1df upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/vt6655/rf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c
index 99c89a14d89b..dff8d47d65d8 100644
--- a/drivers/staging/vt6655/rf.c
+++ b/drivers/staging/vt6655/rf.c
@@ -923,6 +923,7 @@ bool RFbSetPower(
break;
case RATE_6M:
case RATE_9M:
+ case RATE_12M:
case RATE_18M:
byPwr = pDevice->abyOFDMPwrTbl[uCH];
if (pDevice->byRFType == RF_UW2452)