staging: rtl8192e: Rename IPSEnter
Use naming schema found in other rtlwifi devices. Rename IPSEnter to rtl92e_ips_enter. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3683dc1f08
commit
410d6fc983
|
@ -1449,8 +1449,8 @@ static void rtl819x_watchdog_wqcallback(void *data)
|
|||
IPS_CALLBACK_NONE) &&
|
||||
(!ieee->bNetPromiscuousMode)) {
|
||||
RT_TRACE(COMP_PS,
|
||||
"====================>haha: IPSEnter()\n");
|
||||
IPSEnter(dev);
|
||||
"====================>haha: rtl92e_ips_enter()\n");
|
||||
rtl92e_ips_enter(dev);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,7 +140,7 @@ static void InactivePsWorkItemCallback(struct net_device *dev)
|
|||
RT_TRACE(COMP_PS, "InactivePsWorkItemCallback() <---------\n");
|
||||
}
|
||||
|
||||
void IPSEnter(struct net_device *dev)
|
||||
void rtl92e_ips_enter(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = rtllib_priv(dev);
|
||||
struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *)
|
||||
|
@ -152,7 +152,7 @@ void IPSEnter(struct net_device *dev)
|
|||
if (rtState == eRfOn && !pPSC->bSwRfProcessing &&
|
||||
(priv->rtllib->state != RTLLIB_LINKED) &&
|
||||
(priv->rtllib->iw_mode != IW_MODE_MASTER)) {
|
||||
RT_TRACE(COMP_PS, "IPSEnter(): Turn off RF.\n");
|
||||
RT_TRACE(COMP_PS, "rtl92e_ips_enter(): Turn off RF.\n");
|
||||
pPSC->eInactivePowerState = eRfOff;
|
||||
priv->isRFOff = true;
|
||||
priv->bInPowerSaveMode = true;
|
||||
|
|
|
@ -37,7 +37,7 @@ void rtllib_ips_leave_wq(struct net_device *dev);
|
|||
void rtllib_ips_leave(struct net_device *dev);
|
||||
void IPSLeave_wq(void *data);
|
||||
|
||||
void IPSEnter(struct net_device *dev);
|
||||
void rtl92e_ips_enter(struct net_device *dev);
|
||||
void IPSLeave(struct net_device *dev);
|
||||
|
||||
void LeisurePSEnter(struct net_device *dev);
|
||||
|
|
Loading…
Reference in New Issue