From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:18 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_wx_get_range X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a1252b09e9e191d1596a3a9c0dd0d4378dd7d8b6;p=linux-beck.git staging: rtl8192e: Rename rtl8192_wx_get_range Use naming schema found in other rtlwifi devices. Rename rtl8192_wx_get_range to _rtl92e_wx_get_range. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index f11bcc296a77..6bcc6362b5dc 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -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,