staging: rtl8192e: Rename rtl8192_sta_down
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:33 +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_down to _rtl92e_sta_down.

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 fac7c1feb1529989130e6ac2249e6cf9e27482a4..15078bb61d67a0eeee3cd3401706e01c31b4b9f7 100644 (file)
@@ -785,7 +785,7 @@ static int _rtl8192_sta_up(struct net_device *dev, bool is_silent_reset)
        return 0;
 }
 
-static int rtl8192_sta_down(struct net_device *dev, bool shutdownrf)
+static int _rtl92e_sta_down(struct net_device *dev, bool shutdownrf)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        unsigned long flags = 0;
@@ -2232,7 +2232,7 @@ static int _rtl92e_close(struct net_device *dev)
 
 static int _rtl92e_down(struct net_device *dev, bool shutdownrf)
 {
-       if (rtl8192_sta_down(dev, shutdownrf) == -1)
+       if (_rtl92e_sta_down(dev, shutdownrf) == -1)
                return -1;
 
        return 0;