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

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 7e5613774a52f51b1b99fbe5ae4b2e0d4f8f7f46..e25b0894813c869e39f6fedebcc4d6462ebe4782 100644 (file)
@@ -174,9 +174,9 @@ static int r8192_wx_force_reset(struct net_device *dev,
 
 }
 
-static int r8192_wx_adapter_power_status(struct net_device *dev,
-               struct iw_request_info *info,
-               union iwreq_data *wrqu, char *extra)
+static int _rtl92e_wx_adapter_power_status(struct net_device *dev,
+                                          struct iw_request_info *info,
+                                          union iwreq_data *wrqu, char *extra)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *)
@@ -1197,7 +1197,7 @@ static iw_handler r8192_private_handler[] = {
        (iw_handler)r8192_wx_force_reset,
        (iw_handler)NULL,
        (iw_handler)NULL,
-       (iw_handler)r8192_wx_adapter_power_status,
+       (iw_handler)_rtl92e_wx_adapter_power_status,
        (iw_handler)NULL,
        (iw_handler)NULL,
        (iw_handler)NULL,