staging: vt6656: camel case clean up CARDbIsOFDMinBasicRate
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 24 May 2014 13:36:58 +0000 (14:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 17:58:24 +0000 (10:58 -0700)
camel case change
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c

index 439e536fbeee04fb64e506d1afe65603d9022c3b..5a357c5ab27c30bf87ae0c425a447855e866a5f3 100644 (file)
@@ -522,15 +522,16 @@ void CARDbAddBasicRate(struct vnt_private *priv, u16 rate_idx)
        CARDvUpdateBasicTopRate(priv);
 }
 
-int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice)
+int CARDbIsOFDMinBasicRate(struct vnt_private *priv)
 {
        int ii;
 
-    for (ii = RATE_54M; ii >= RATE_6M; ii --) {
-        if ((pDevice->wBasicRate) & ((u16)(1<<ii)))
-            return true;
-    }
-    return false;
+       for (ii = RATE_54M; ii >= RATE_6M; ii--) {
+               if ((priv->wBasicRate) & ((u16)(1 << ii)))
+                       return true;
+       }
+
+       return false;
 }
 
 u8 CARDbyGetPktType(struct vnt_private *pDevice)