]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename rtl8192_getSupportedWireleeMode
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:45 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:49 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_getSupportedWireleeMode to
_rtl92e_get_supported_wireless_mode.

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 51bae3e2c7dee4aaba64083e3839fed36a35b7a3..a4ca32db574444913a112f967962a006ccb24c86 100644 (file)
@@ -674,7 +674,7 @@ static void _rtl92e_refresh_support_rate(struct r8192_priv *priv)
        }
 }
 
-static u8 rtl8192_getSupportedWireleeMode(struct net_device *dev)
+static u8 _rtl92e_get_supported_wireless_mode(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u8 ret = 0;
@@ -699,7 +699,7 @@ static u8 rtl8192_getSupportedWireleeMode(struct net_device *dev)
 void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
-       u8 bSupportMode = rtl8192_getSupportedWireleeMode(dev);
+       u8 bSupportMode = _rtl92e_get_supported_wireless_mode(dev);
 
        if ((wireless_mode == WIRELESS_MODE_AUTO) ||
            ((wireless_mode & bSupportMode) == 0)) {