staging: rtl8192e: Rename LeisurePSEnter
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:33:49 +0000 (19:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:26:25 +0000 (21:26 -0700)
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>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h

index f89e7be71fa2d138ff3b5f5e4ba9515dfdc06e22..bf41950117f1cf9ef65695cc9f0a45bb279f29fb 100644 (file)
@@ -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);
 
index bc86df356933f080da0028aab9d5a36d8d9ef410..232e4fa488ce467a67948f55cb325954bd284942 100644 (file)
@@ -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)
index eae0c8637bb25a61dd86018431a3316c1ceae6f7..dd4ca28c84be1f818467fe9e2914b109733e10a0 100644 (file)
@@ -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