staging: vt6656: camel case cleanup CARDbAddBasicRate

camel case changes
pDevice -> priv
wRateIdx -> rate_idx

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-23 18:00:19 +01:00 committed by Greg Kroah-Hartman
parent dcce9e0b08
commit 6db0deaec9
2 changed files with 5 additions and 6 deletions

View File

@ -513,14 +513,13 @@ void CARDvUpdateBasicTopRate(struct vnt_private *priv)
* Return Value: true if succeeded; false if failed.
*
*/
void CARDbAddBasicRate(struct vnt_private *pDevice, u16 wRateIdx)
void CARDbAddBasicRate(struct vnt_private *priv, u16 rate_idx)
{
u16 wRate = (1 << wRateIdx);
pDevice->wBasicRate |= wRate;
priv->wBasicRate |= (1 << rate_idx);
//Determines the highest basic rate.
CARDvUpdateBasicTopRate(pDevice);
/*Determines the highest basic rate.*/
CARDvUpdateBasicTopRate(priv);
}
int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice)

View File

@ -49,7 +49,7 @@ void CARDbSetMediaChannel(struct vnt_private *pDevice, u32 uConnectionChannel);
void CARDvSetRSPINF(struct vnt_private *, u8);
void vUpdateIFS(struct vnt_private *);
void CARDvUpdateBasicTopRate(struct vnt_private *);
void CARDbAddBasicRate(struct vnt_private *pDevice, u16 wRateIdx);
void CARDbAddBasicRate(struct vnt_private *, u16);
int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice);
void CARDvAdjustTSF(struct vnt_private *pDevice, u8 byRxRate,
u64 qwBSSTimestamp, u64 qwLocalTSF);