mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
staging: rtl8192e: Rename PHY_SetRtl8192eRfOff
Use naming schema found in other rtlwifi devices. Rename PHY_SetRtl8192eRfOff to rtl92e_set_rf_off. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9a44c6e673
commit
3803cb215b
3 changed files with 5 additions and 5 deletions
|
|
@ -2119,7 +2119,7 @@ void rtl92e_stop_adapter(struct net_device *dev, bool reset)
|
|||
priv->bHwRfOffAction = 2;
|
||||
|
||||
if (!priv->rtllib->bSupportRemoteWakeUp) {
|
||||
PHY_SetRtl8192eRfOff(dev);
|
||||
rtl92e_set_rf_off(dev);
|
||||
ulRegRead = read_nic_dword(dev, CPU_GEN);
|
||||
ulRegRead |= CPU_GEN_SYSTEM_RESET;
|
||||
write_nic_dword(dev, CPU_GEN, ulRegRead);
|
||||
|
|
|
|||
|
|
@ -1405,7 +1405,7 @@ void rtl92e_init_gain(struct net_device *dev, u8 Operation)
|
|||
}
|
||||
}
|
||||
|
||||
void PHY_SetRtl8192eRfOff(struct net_device *dev)
|
||||
void rtl92e_set_rf_off(struct net_device *dev)
|
||||
{
|
||||
|
||||
rtl8192_setBBreg(dev, rFPGA0_XA_RFInterfaceOE, BIT4, 0x0);
|
||||
|
|
@ -1511,7 +1511,7 @@ static bool SetRFPowerState8190(struct net_device *dev,
|
|||
break;
|
||||
}
|
||||
}
|
||||
PHY_SetRtl8192eRfOff(dev);
|
||||
rtl92e_set_rf_off(dev);
|
||||
break;
|
||||
|
||||
case eRfOff:
|
||||
|
|
@ -1547,7 +1547,7 @@ static bool SetRFPowerState8190(struct net_device *dev,
|
|||
RT_SET_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC);
|
||||
} else if (!(pPSC->RegRfPsLevel &
|
||||
RT_RF_OFF_LEVL_HALT_NIC)) {
|
||||
PHY_SetRtl8192eRfOff(dev);
|
||||
rtl92e_set_rf_off(dev);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ extern void rtl8192_SetBWMode(struct net_device *dev,
|
|||
enum ht_extchnl_offset Offset);
|
||||
extern void rtl92e_init_gain(struct net_device *dev, u8 Operation);
|
||||
|
||||
extern void PHY_SetRtl8192eRfOff(struct net_device *dev);
|
||||
extern void rtl92e_set_rf_off(struct net_device *dev);
|
||||
|
||||
bool
|
||||
SetRFPowerState(
|
||||
|
|
|
|||
Loading…
Reference in a new issue