staging: rtl8192e: Rename rtl8192_SetBWMode
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:58 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:19 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_SetBWMode to rtl92e_set_bw_mode.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 7bbbe7be6f60558af7af3085527988945040a7aa..08eaa951c70b3277c7d01e71a2eaa3f42bb1429e 100644 (file)
@@ -1264,8 +1264,8 @@ static void rtl8192_SetBWModeWorkItem(struct net_device *dev)
        RT_TRACE(COMP_SWBW, "<==SetBWMode819xUsb()");
 }
 
-void rtl8192_SetBWMode(struct net_device *dev, enum ht_channel_width Bandwidth,
-                      enum ht_extchnl_offset Offset)
+void rtl92e_set_bw_mode(struct net_device *dev, enum ht_channel_width Bandwidth,
+                       enum ht_extchnl_offset Offset)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 1d961cfa51c09c4018a4ed22ed9d40d7e98e4f12..ac4d2c94e2c6cc4832c7298e5e6d72df9ffa224a 100644 (file)
@@ -91,9 +91,9 @@ extern u8 rtl92e_config_rf_path(struct net_device *dev,
                                enum rf90_radio_path eRFPath);
 
 extern u8 rtl92e_set_channel(struct net_device *dev, u8 channel);
-extern void rtl8192_SetBWMode(struct net_device *dev,
-                             enum ht_channel_width Bandwidth,
-                             enum ht_extchnl_offset Offset);
+extern void rtl92e_set_bw_mode(struct net_device *dev,
+                              enum ht_channel_width Bandwidth,
+                              enum ht_extchnl_offset Offset);
 extern void rtl92e_init_gain(struct net_device *dev, u8 Operation);
 
 extern void rtl92e_set_rf_off(struct net_device *dev);
index 99b36f8b5c79f449a27d1066c2350c7eeb2dedc3..c206e1dc1014e764cc6d2abad28c83b8bf7c045f 100644 (file)
@@ -876,7 +876,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->handle_beacon             = rtl8192_handle_beacon;
        priv->rtllib->SetWirelessMode           = rtl8192_SetWirelessMode;
        priv->rtllib->LeisurePSLeave            = LeisurePSLeave;
-       priv->rtllib->SetBWModeHandler          = rtl8192_SetBWMode;
+       priv->rtllib->SetBWModeHandler          = rtl92e_set_bw_mode;
        priv->rf_set_chan                       = rtl92e_set_channel;
 
        priv->rtllib->start_send_beacons = rtl92e_start_beacon;