From: Malcolm Priestley Date: Sat, 7 Mar 2015 17:04:54 +0000 (+0000) Subject: vt6655: RFbSetPower fix missing rate RATE_12M X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=40c8790bcb7ac74f3038153cd09310e220c6a1df;p=openwrt%2Fstaging%2Fblogic.git vt6655: RFbSetPower 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 Cc: Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/rf.c b/drivers/staging/vt6655/rf.c index 941b2adca95a..7626f635f160 100644 --- a/drivers/staging/vt6655/rf.c +++ b/drivers/staging/vt6655/rf.c @@ -794,6 +794,7 @@ bool RFbSetPower( break; case RATE_6M: case RATE_9M: + case RATE_12M: case RATE_18M: byPwr = priv->abyOFDMPwrTbl[uCH]; if (priv->byRFType == RF_UW2452)