Commit de0eb9ef authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: camel case clean up CARDbIsOFDMinBasicRate

camel case change
pDevice -> priv
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b596b2a
...@@ -522,15 +522,16 @@ void CARDbAddBasicRate(struct vnt_private *priv, u16 rate_idx) ...@@ -522,15 +522,16 @@ void CARDbAddBasicRate(struct vnt_private *priv, u16 rate_idx)
CARDvUpdateBasicTopRate(priv); CARDvUpdateBasicTopRate(priv);
} }
int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice) int CARDbIsOFDMinBasicRate(struct vnt_private *priv)
{ {
int ii; int ii;
for (ii = RATE_54M; ii >= RATE_6M; ii --) { for (ii = RATE_54M; ii >= RATE_6M; ii--) {
if ((pDevice->wBasicRate) & ((u16)(1<<ii))) if ((priv->wBasicRate) & ((u16)(1 << ii)))
return true; return true;
} }
return false;
return false;
} }
u8 CARDbyGetPktType(struct vnt_private *pDevice) u8 CARDbyGetPktType(struct vnt_private *pDevice)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment