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

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 09e4a4d9af2604a731e3be358d2b1dd1962bf027..ecd024c0bc8977db8c12ed42578caf95b2fb6d9a 100644 (file)
@@ -100,9 +100,9 @@ static int r8192_wx_set_rts(struct net_device *dev,
        return ret;
 }
 
-static int r8192_wx_get_rts(struct net_device *dev,
-                            struct iw_request_info *info,
-                            union iwreq_data *wrqu, char *extra)
+static int _rtl92e_wx_get_rts(struct net_device *dev,
+                             struct iw_request_info *info,
+                             union iwreq_data *wrqu, char *extra)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -1136,7 +1136,7 @@ static iw_handler r8192_wx_handlers[] = {
        [IW_IOCTL(SIOCSIWRATE)] = r8192_wx_set_rate,
        [IW_IOCTL(SIOCGIWRATE)] = _rtl92e_wx_get_rate,
        [IW_IOCTL(SIOCSIWRTS)] = r8192_wx_set_rts,
-       [IW_IOCTL(SIOCGIWRTS)] = r8192_wx_get_rts,
+       [IW_IOCTL(SIOCGIWRTS)] = _rtl92e_wx_get_rts,
        [IW_IOCTL(SIOCSIWFRAG)] = r8192_wx_set_frag,
        [IW_IOCTL(SIOCGIWFRAG)] = _rtl92e_wx_get_frag,
        [IW_IOCTL(SIOCSIWRETRY)] = r8192_wx_set_retry,