staging: rtl8192e: Rename rtl8192_phy_SwChnlStepByStep
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:25 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:45 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SwChnlStepByStep to _rtl92e_phy_switch_channel_step.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c

index d06131a660c50349b56833dca8f675e305f66046..5681b2c9d89489b0ec2dc45a7d5e67d7845727e5 100644 (file)
@@ -821,8 +821,8 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev,
        return true;
 }
 
-static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
-                                      u8 *stage, u8 *step, u32 *delay)
+static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
+                                         u8 *stage, u8 *step, u32 *delay)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rtllib_device *ieee = priv->rtllib;
@@ -979,8 +979,9 @@ static void _rtl92e_phy_switch_channel(struct net_device *dev, u8 channel)
        struct r8192_priv *priv = rtllib_priv(dev);
        u32 delay = 0;
 
-       while (!rtl8192_phy_SwChnlStepByStep(dev, channel, &priv->SwChnlStage,
-             &priv->SwChnlStep, &delay)) {
+       while (!_rtl92e_phy_switch_channel_step(dev, channel,
+                                               &priv->SwChnlStage,
+                                               &priv->SwChnlStep, &delay)) {
                if (delay > 0)
                        msleep(delay);
                if (!priv->up)