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

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 5681b2c..e2f833d 100644 (file)
@@ -988,7 +988,8 @@ static void _rtl92e_phy_switch_channel(struct net_device *dev, u8 channel)
                        break;
        }
 }
-static void rtl8192_SwChnl_WorkItem(struct net_device *dev)
+
+static void _rtl92e_phy_switch_channel_work_item(struct net_device *dev)
 {
 
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -1055,7 +1056,7 @@ u8 rtl92e_set_channel(struct net_device *dev, u8 channel)
        priv->SwChnlStep = 0;
 
        if (priv->up)
-               rtl8192_SwChnl_WorkItem(dev);
+               _rtl92e_phy_switch_channel_work_item(dev);
        priv->SwChnlInProgress = false;
        return true;
 }