From e197821fb587155ccf2b1d4a573486b2605aadd9 Mon Sep 17 00:00:00 2001 From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 10:19:00 +0200 Subject: [PATCH] staging: rtl8192e: Rename r8192_wx_set_enc_ext 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index b0766b7210ef..43de413d7789 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -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, -- 2.39.5