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

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 641b0694b01386b1209391d8253ea244e75f2cec..240d765e5cc7221d5c249a0bfb6177fae240fb07 100644 (file)
@@ -678,9 +678,9 @@ static int _rtl92e_wx_get_enc(struct net_device *dev,
        return rtllib_wx_get_encode(priv->rtllib, info, wrqu, key);
 }
 
-static int r8192_wx_set_enc(struct net_device *dev,
-                           struct iw_request_info *info,
-                           union iwreq_data *wrqu, char *key)
+static int _rtl92e_wx_set_enc(struct net_device *dev,
+                             struct iw_request_info *info,
+                             union iwreq_data *wrqu, char *key)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        int ret;
@@ -1143,7 +1143,7 @@ static iw_handler r8192_wx_handlers[] = {
        [IW_IOCTL(SIOCGIWFRAG)] = _rtl92e_wx_get_frag,
        [IW_IOCTL(SIOCSIWRETRY)] = _rtl92e_wx_set_retry,
        [IW_IOCTL(SIOCGIWRETRY)] = _rtl92e_wx_get_retry,
-       [IW_IOCTL(SIOCSIWENCODE)] = r8192_wx_set_enc,
+       [IW_IOCTL(SIOCSIWENCODE)] = _rtl92e_wx_set_enc,
        [IW_IOCTL(SIOCGIWENCODE)] = _rtl92e_wx_get_enc,
        [IW_IOCTL(SIOCSIWPOWER)] = _rtl92e_wx_set_power,
        [IW_IOCTL(SIOCGIWPOWER)] = _rtl92e_wx_get_power,