staging: rtl8192e: Rename rtl8192_phy_FinishSwChnlNow
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:21 +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_FinishSwChnlNow to _rtl92e_phy_switch_channel.

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 0dae2c8c374f12d22697c8e0b8ffda26a2ab1c6e..eed3c0bb871da0f2e87862902e126be547119181 100644 (file)
@@ -963,7 +963,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
        return false;
 }
 
-static void rtl8192_phy_FinishSwChnlNow(struct net_device *dev, u8 channel)
+static void _rtl92e_phy_switch_channel(struct net_device *dev, u8 channel)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u32 delay = 0;
@@ -986,7 +986,7 @@ static void rtl8192_SwChnl_WorkItem(struct net_device *dev)
        RT_TRACE(COMP_TRACE, "=====>--%s(), set chan:%d, priv:%p\n", __func__,
                 priv->chan, priv);
 
-       rtl8192_phy_FinishSwChnlNow(dev, priv->chan);
+       _rtl92e_phy_switch_channel(dev, priv->chan);
 
        RT_TRACE(COMP_TRACE, "<== SwChnlCallback819xUsbWorkItem()\n");
 }