diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-05-30 23:22:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 15:56:49 -0700 |
commit | fa26e0bd299c3eefbc507ce6b4ee7b71aa431ea6 (patch) | |
tree | 916c8c109653d2390d20dba5bcccded6a60ff2bc /drivers | |
parent | 88ec2f7e47d201a28acbbee407805234ca5ec8c9 (diff) |
staging: vt6656: rename CARDbRadioPowerOff to vnt_radio_power_off
Drop card and rename to vnt_radio_power_off
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6656/card.c | 4 | ||||
-rw-r--r-- | drivers/staging/vt6656/card.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c index 9ecf189021d5..e2ed0f458066 100644 --- a/drivers/staging/vt6656/card.c +++ b/drivers/staging/vt6656/card.c @@ -33,7 +33,7 @@ * vnt_get_next_tbtt - Calculate Next Beacon TSF counter * vnt_reset_next_tbtt - Set NIC Beacon time * vnt_update_next_tbtt - Sync. NIC Beacon time - * CARDbRadioPowerOff - Turn Off NIC Radio Power + * vnt_radio_power_off - Turn Off NIC Radio Power * CARDbRadioPowerOn - Turn On NIC Radio Power * CARDbSetWEPMode - Set NIC Wep mode * CARDbSetTxPower - Set NIC tx power @@ -764,7 +764,7 @@ void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, * Return Value: true if success; otherwise false * */ -int CARDbRadioPowerOff(struct vnt_private *priv) +int vnt_radio_power_off(struct vnt_private *priv) { int ret = true; diff --git a/drivers/staging/vt6656/card.h b/drivers/staging/vt6656/card.h index d5f7c68c835d..614e6d6f0b27 100644 --- a/drivers/staging/vt6656/card.h +++ b/drivers/staging/vt6656/card.h @@ -58,7 +58,7 @@ void vnt_reset_next_tbtt(struct vnt_private *, u16); void vnt_update_next_tbtt(struct vnt_private *, u64, u16); u64 vnt_get_next_tbtt(u64, u16); u64 vnt_get_tsf_offset(u8 byRxRate, u64 qwTSF1, u64 qwTSF2); -int CARDbRadioPowerOff(struct vnt_private *pDevice); +int vnt_radio_power_off(struct vnt_private *); int CARDbRadioPowerOn(struct vnt_private *pDevice); u8 vnt_get_pkt_type(struct vnt_private *); void CARDvSetBSSMode(struct vnt_private *pDevice); diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 636afc2fdb17..2378068a8908 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -560,7 +560,7 @@ static int device_init_registers(struct vnt_private *pDevice) if ((pDevice->bHWRadioOff == true) || (pDevice->bRadioControlOff == true)) { - CARDbRadioPowerOff(pDevice); + vnt_radio_power_off(pDevice); } else { CARDbRadioPowerOn(pDevice); } diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index cec6fc6dc6b7..d1d6cf28abf3 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -439,7 +439,7 @@ void vRunCommand(struct work_struct *work) } netif_stop_queue(pDevice->dev); if (pDevice->bNeedRadioOFF == true) - CARDbRadioPowerOff(pDevice); + vnt_radio_power_off(pDevice); break; @@ -798,7 +798,7 @@ void vRunCommand(struct work_struct *work) memset(pItemSSID->abySSID, 0, WLAN_SSID_MAXLEN); netif_stop_queue(pDevice->dev); - CARDbRadioPowerOff(pDevice); + vnt_radio_power_off(pDevice); MACvRegBitsOn(pDevice, MAC_REG_GPIOCTL1, GPIO3_INTMD); vnt_mac_set_led(pDevice, LEDSTS_STS, LEDSTS_OFF); |