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

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 f11bcc296a77e71f2c4aeba39adf62195eba26cd..6bcc6362b5dcd06a9d1348572ea160703cc23b84 100644 (file)
@@ -318,7 +318,7 @@ struct  iw_range_with_scan_capa {
        __u8        scan_capa;
 };
 
-static int rtl8192_wx_get_range(struct net_device *dev,
+static int _rtl92e_wx_get_range(struct net_device *dev,
                                struct iw_request_info *info,
                                union iwreq_data *wrqu, char *extra)
 {
@@ -1125,7 +1125,7 @@ static iw_handler r8192_wx_handlers[] = {
        [IW_IOCTL(SIOCGIWMODE)] = _rtl92e_wx_get_mode,
        [IW_IOCTL(SIOCSIWSENS)] = _rtl92e_wx_set_sens,
        [IW_IOCTL(SIOCGIWSENS)] = _rtl92e_wx_get_sens,
-       [IW_IOCTL(SIOCGIWRANGE)] = rtl8192_wx_get_range,
+       [IW_IOCTL(SIOCGIWRANGE)] = _rtl92e_wx_get_range,
        [IW_IOCTL(SIOCSIWAP)] = _rtl92e_wx_set_wap,
        [IW_IOCTL(SIOCGIWAP)] = _rtl92e_wx_get_wap,
        [IW_IOCTL(SIOCSIWSCAN)] = _rtl92e_wx_set_scan,