From: Malcolm Priestley Date: Sat, 7 Mar 2015 17:04:54 +0000 (+0000) Subject: vt6655: RFbSetPower fix missing rate RATE_12M X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e695f0be9dd973e34148fa271fc941c8179ff08;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c index 6948984a25ab..c2d602825422 100644 --- a/drivers/staging/vt6655/rf.c +++ b/drivers/staging/vt6655/rf.c @@ -966,6 +966,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) {