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

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c

index 3db1efaff5605d65dda4848cdce5e6c418ea51e4..b0766b7210ef21a28702b0fa7953cb3979f19b2f 100644 (file)
@@ -240,9 +240,9 @@ static int r8192se_wx_set_force_lps(struct net_device *dev,
 
 }
 
-static int r8192_wx_set_debugflag(struct net_device *dev,
-                                 struct iw_request_info *info,
-                                 union iwreq_data *wrqu, char *extra)
+static int _rtl92e_wx_set_debug(struct net_device *dev,
+                               struct iw_request_info *info,
+                               union iwreq_data *wrqu, char *extra)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u8 c = *extra;
@@ -1194,7 +1194,7 @@ static const struct iw_priv_args r8192_private_args[] = {
 };
 
 static iw_handler r8192_private_handler[] = {
-       (iw_handler)r8192_wx_set_debugflag,   /*SIOCIWSECONDPRIV*/
+       (iw_handler)_rtl92e_wx_set_debug,   /*SIOCIWSECONDPRIV*/
        (iw_handler)r8192_wx_set_scan_type,
        (iw_handler)r8192_wx_set_rawtx,
        (iw_handler)_rtl92e_wx_force_reset,