mirror of https://gitee.com/openkylin/linux.git
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:
parent
0b596b2a70
commit
de0eb9ef70
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue