vt6655: RFbSetPower fix missing rate RATE_12M
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 7 Mar 2015 17:04:54 +0000 (17:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2015 12:02:12 +0000 (14:02 +0200)
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>
drivers/staging/vt6655/rf.c

index 6948984..c2d6028 100644 (file)
@@ -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) {