staging: vt6656: camel case clean up CARDbIsOFDMinBasicRate

camel case change
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-05-24 14:36:58 +01:00 committed by Greg Kroah-Hartman
parent 0b596b2a70
commit de0eb9ef70
1 changed files with 7 additions and 6 deletions

View File

@ -522,14 +522,15 @@ 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)))
for (ii = RATE_54M; ii >= RATE_6M; ii--) {
if ((priv->wBasicRate) & ((u16)(1 << ii)))
return true;
}
return false;
}