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

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 b0766b7210ef21a28702b0fa7953cb3979f19b2f..43de413d778978b1a2afe559f8672b685ed6158a 100644 (file)
@@ -898,9 +898,9 @@ exit:
        return err;
 }
 
-static int r8192_wx_set_enc_ext(struct net_device *dev,
-                               struct iw_request_info *info,
-                               union iwreq_data *wrqu, char *extra)
+static int _rtl92e_wx_set_encode_ext(struct net_device *dev,
+                                    struct iw_request_info *info,
+                                    union iwreq_data *wrqu, char *extra)
 {
        int ret = 0;
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -1151,7 +1151,7 @@ static iw_handler r8192_wx_handlers[] = {
        [IW_IOCTL(SIOCGIWGENIE)] = _rtl92e_wx_get_gen_ie,
        [IW_IOCTL(SIOCSIWMLME)] = r8192_wx_set_mlme,
        [IW_IOCTL(SIOCSIWAUTH)] = _rtl92e_wx_set_auth,
-       [IW_IOCTL(SIOCSIWENCODEEXT)] = r8192_wx_set_enc_ext,
+       [IW_IOCTL(SIOCSIWENCODEEXT)] = _rtl92e_wx_set_encode_ext,
 };
 
 /* the following rule need to be following,