mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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
1 changed files with 7 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue