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

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 e9166ed1cbac9485e5cb24151f6decee5f36e811..763b0dbcd85377c5a420abb3f36ab8764d3ae924 100644 (file)
@@ -774,9 +774,9 @@ end_hw_sec:
        return ret;
 }
 
-static int r8192_wx_set_scan_type(struct net_device *dev,
-                                 struct iw_request_info *aa,
-                                 union iwreq_data *wrqu, char *p)
+static int _rtl92e_wx_set_scan_type(struct net_device *dev,
+                                   struct iw_request_info *aa,
+                                   union iwreq_data *wrqu, char *p)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        int *parms = (int *)p;
@@ -1195,7 +1195,7 @@ static const struct iw_priv_args r8192_private_args[] = {
 
 static iw_handler r8192_private_handler[] = {
        (iw_handler)_rtl92e_wx_set_debug,   /*SIOCIWSECONDPRIV*/
-       (iw_handler)r8192_wx_set_scan_type,
+       (iw_handler)_rtl92e_wx_set_scan_type,
        (iw_handler)_rtl92e_wx_set_rawtx,
        (iw_handler)_rtl92e_wx_force_reset,
        (iw_handler)NULL,