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

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

index 2aadb6284eae6e69f98fa570b5c1bdd91d5031fa..35ccf4b90094ba0773d7a23ba7936f3471596a9f 100644 (file)
@@ -658,7 +658,7 @@ void rtl92e_config_rate(struct net_device *dev, u16 *rate_config)
        }
 }
 
-static void rtl8192_refresh_supportrate(struct r8192_priv *priv)
+static void _rtl92e_refresh_support_rate(struct r8192_priv *priv)
 {
        struct rtllib_device *ieee = priv->rtllib;
 
@@ -739,7 +739,7 @@ void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode)
        }
 
        RT_TRACE(COMP_INIT, "Current Wireless Mode is %x\n", wireless_mode);
-       rtl8192_refresh_supportrate(priv);
+       _rtl92e_refresh_support_rate(priv);
 }
 
 static int _rtl8192_sta_up(struct net_device *dev, bool is_silent_reset)