staging: rtl8192e: Rename rtl8192_SetBWModeWorkItem
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:14:07 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:52 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_SetBWModeWorkItem to _rtl92e_set_bw_mode_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 6b61f3227272b6c38361a02deff0f97455e48b22..0cc4e75f4a74670a41010a07a140a4adbc37fc41 100644 (file)
@@ -1166,14 +1166,14 @@ static void _rtl92e_cck_tx_power_track_bw_switch(struct net_device *dev)
                _rtl92e_cck_tx_power_track_bw_switch_thermal(dev);
 }
 
-static void rtl8192_SetBWModeWorkItem(struct net_device *dev)
+static void _rtl92e_set_bw_mode_work_item(struct net_device *dev)
 {
 
        struct r8192_priv *priv = rtllib_priv(dev);
        u8 regBwOpMode;
 
        RT_TRACE(COMP_SWBW,
-                "==>rtl8192_SetBWModeWorkItem()  Switch to %s bandwidth\n",
+                "==>_rtl92e_set_bw_mode_work_item()  Switch to %s bandwidth\n",
                 priv->CurrentChannelBW == HT_CHANNEL_WIDTH_20 ?
                         "20MHz" : "40MHz");
 
@@ -1294,7 +1294,7 @@ void rtl92e_set_bw_mode(struct net_device *dev, enum ht_channel_width Bandwidth,
        else
                priv->nCur40MhzPrimeSC = HAL_PRIME_CHNL_OFFSET_DONT_CARE;
 
-       rtl8192_SetBWModeWorkItem(dev);
+       _rtl92e_set_bw_mode_work_item(dev);
 
 }