staging: rtl8192e: Rename LeisurePSEnter
Use naming schema found in other rtlwifi devices. Rename LeisurePSEnter to rtl92e_leisure_ps_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
a514c798ee
commit
04197ef2bd
|
@ -1482,7 +1482,7 @@ static void rtl819x_watchdog_wqcallback(void *data)
|
|||
bEnterPS = false;
|
||||
|
||||
if (bEnterPS)
|
||||
LeisurePSEnter(dev);
|
||||
rtl92e_leisure_ps_enter(dev);
|
||||
else
|
||||
LeisurePSLeave(dev);
|
||||
|
||||
|
|
|
@ -251,13 +251,13 @@ static bool MgntActSet_802_11_PowerSaveMode(struct net_device *dev,
|
|||
return true;
|
||||
}
|
||||
|
||||
void LeisurePSEnter(struct net_device *dev)
|
||||
void rtl92e_leisure_ps_enter(struct net_device *dev)
|
||||
{
|
||||
struct r8192_priv *priv = rtllib_priv(dev);
|
||||
struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *)
|
||||
&(priv->rtllib->PowerSaveControl);
|
||||
|
||||
RT_TRACE(COMP_PS, "LeisurePSEnter()...\n");
|
||||
RT_TRACE(COMP_PS, "rtl92e_leisure_ps_enter()...\n");
|
||||
RT_TRACE(COMP_PS,
|
||||
"pPSC->bLeisurePs = %d, ieee->ps = %d,pPSC->LpsIdleCount is %d,RT_CHECK_FOR_HANG_PERIOD is %d\n",
|
||||
pPSC->bLeisurePs, priv->rtllib->ps, pPSC->LpsIdleCount,
|
||||
|
@ -275,7 +275,7 @@ void LeisurePSEnter(struct net_device *dev)
|
|||
if (priv->rtllib->ps == RTLLIB_PS_DISABLED) {
|
||||
|
||||
RT_TRACE(COMP_LPS,
|
||||
"LeisurePSEnter(): Enter 802.11 power save mode...\n");
|
||||
"rtl92e_leisure_ps_enter(): Enter 802.11 power save mode...\n");
|
||||
|
||||
if (!pPSC->bFwCtrlLPS) {
|
||||
if (priv->rtllib->SetFwCmdHandler)
|
||||
|
|
|
@ -40,7 +40,7 @@ void rtl92e_ips_leave_wq(void *data);
|
|||
void rtl92e_ips_enter(struct net_device *dev);
|
||||
void rtl92e_ips_leave(struct net_device *dev);
|
||||
|
||||
void LeisurePSEnter(struct net_device *dev);
|
||||
void rtl92e_leisure_ps_enter(struct net_device *dev);
|
||||
void LeisurePSLeave(struct net_device *dev);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue