staging: vt6656: rf.c/h rename RFbSetPower to vnt_rf_setpower
Removing camel case Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
32c48cb8ba
commit
4f5290ea3c
@ -734,7 +734,7 @@ int vnt_rf_write_embedded(struct vnt_private *priv, u32 data)
|
||||
* Return Value: true if succeeded; false if failed.
|
||||
*
|
||||
*/
|
||||
int RFbSetPower(struct vnt_private *priv, u32 rate, u32 channel)
|
||||
int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
|
||||
{
|
||||
int ret = true;
|
||||
u8 power = priv->byCCKPwr;
|
||||
|
@ -58,7 +58,7 @@
|
||||
extern const u8 RFaby11aChannelIndex[200];
|
||||
|
||||
int vnt_rf_write_embedded(struct vnt_private *, u32);
|
||||
int RFbSetPower(struct vnt_private *, u32 uRATE, u32 uCH);
|
||||
int vnt_rf_setpower(struct vnt_private *, u32, u32);
|
||||
int RFbRawSetPower(struct vnt_private *, u8 byPwr, u32 uRATE);
|
||||
void RFvRSSITodBm(struct vnt_private *, u8 byCurrRSSI, long *pldBm);
|
||||
void RFbRFTableDownload(struct vnt_private *pDevice);
|
||||
|
@ -1386,9 +1386,9 @@ CMD_STATUS csMgmt_xmit(struct vnt_private *pDevice,
|
||||
}
|
||||
|
||||
if (pMgmt->eScanState != WMAC_NO_SCANNING)
|
||||
RFbSetPower(pDevice, wCurrentRate, pDevice->byCurrentCh);
|
||||
vnt_rf_setpower(pDevice, wCurrentRate, pDevice->byCurrentCh);
|
||||
else
|
||||
RFbSetPower(pDevice, wCurrentRate, pMgmt->uCurrChannel);
|
||||
vnt_rf_setpower(pDevice, wCurrentRate, pMgmt->uCurrChannel);
|
||||
|
||||
pDevice->wCurrentRate = wCurrentRate;
|
||||
|
||||
|
@ -835,7 +835,8 @@ void vRunCommand(struct work_struct *work)
|
||||
|
||||
case WLAN_CMD_SETPOWER_START:
|
||||
|
||||
RFbSetPower(pDevice, pDevice->wCurrentRate, pMgmt->uCurrChannel);
|
||||
vnt_rf_setpower(pDevice, pDevice->wCurrentRate,
|
||||
pMgmt->uCurrChannel);
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user