staging: rtl8192e: Rename r8192_wx_set_rts
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:13 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:00 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename r8192_wx_set_rts to _rtl92e_wx_set_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 a2d6297812f1c29ae7915e73af441f95a6207714..0aa9a7961e56e44cb46ba28c7d84b23d41d17471 100644 (file)
@@ -78,10 +78,9 @@ static int _rtl92e_wx_set_rate(struct net_device *dev,
        return ret;
 }
 
-
-static int r8192_wx_set_rts(struct net_device *dev,
-                            struct iw_request_info *info,
-                            union iwreq_data *wrqu, char *extra)
+static int _rtl92e_wx_set_rts(struct net_device *dev,
+                             struct iw_request_info *info,
+                             union iwreq_data *wrqu, char *extra)
 {
        int ret;
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -1137,7 +1136,7 @@ static iw_handler r8192_wx_handlers[] = {
        [IW_IOCTL(SIOCGIWNICKN)] = _rtl92e_wx_get_nick,
        [IW_IOCTL(SIOCSIWRATE)] = _rtl92e_wx_set_rate,
        [IW_IOCTL(SIOCGIWRATE)] = _rtl92e_wx_get_rate,
-       [IW_IOCTL(SIOCSIWRTS)] = r8192_wx_set_rts,
+       [IW_IOCTL(SIOCSIWRTS)] = _rtl92e_wx_set_rts,
        [IW_IOCTL(SIOCGIWRTS)] = _rtl92e_wx_get_rts,
        [IW_IOCTL(SIOCSIWFRAG)] = _rtl92e_wx_set_frag,
        [IW_IOCTL(SIOCGIWFRAG)] = _rtl92e_wx_get_frag,