staging: rtl8192e: Rename _rtl8192_sta_up
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:34 +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_sta_up to _rtl92e_sta_up.

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 15078bb..1aff44d 100644 (file)
@@ -742,7 +742,7 @@ void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode)
        _rtl92e_refresh_support_rate(priv);
 }
 
-static int _rtl8192_sta_up(struct net_device *dev, bool is_silent_reset)
+static int _rtl92e_sta_up(struct net_device *dev, bool is_silent_reset)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *)
@@ -2183,7 +2183,7 @@ static void rtl8192_cancel_deferred_work(struct r8192_priv *priv)
 
 static int _rtl92e_up(struct net_device *dev, bool is_silent_reset)
 {
-       if (_rtl8192_sta_up(dev, is_silent_reset) == -1)
+       if (_rtl92e_sta_up(dev, is_silent_reset) == -1)
                return -1;
        return 0;
 }