Commit ae924acd authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_SetBWMode

Use naming schema found in other rtlwifi devices.
Rename rtl8192_SetBWMode to rtl92e_set_bw_mode.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 153f9ddb
...@@ -1264,8 +1264,8 @@ static void rtl8192_SetBWModeWorkItem(struct net_device *dev) ...@@ -1264,8 +1264,8 @@ static void rtl8192_SetBWModeWorkItem(struct net_device *dev)
RT_TRACE(COMP_SWBW, "<==SetBWMode819xUsb()"); RT_TRACE(COMP_SWBW, "<==SetBWMode819xUsb()");
} }
void rtl8192_SetBWMode(struct net_device *dev, enum ht_channel_width Bandwidth, void rtl92e_set_bw_mode(struct net_device *dev, enum ht_channel_width Bandwidth,
enum ht_extchnl_offset Offset) enum ht_extchnl_offset Offset)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -91,9 +91,9 @@ extern u8 rtl92e_config_rf_path(struct net_device *dev, ...@@ -91,9 +91,9 @@ extern u8 rtl92e_config_rf_path(struct net_device *dev,
enum rf90_radio_path eRFPath); enum rf90_radio_path eRFPath);
extern u8 rtl92e_set_channel(struct net_device *dev, u8 channel); extern u8 rtl92e_set_channel(struct net_device *dev, u8 channel);
extern void rtl8192_SetBWMode(struct net_device *dev, extern void rtl92e_set_bw_mode(struct net_device *dev,
enum ht_channel_width Bandwidth, enum ht_channel_width Bandwidth,
enum ht_extchnl_offset Offset); enum ht_extchnl_offset Offset);
extern void rtl92e_init_gain(struct net_device *dev, u8 Operation); extern void rtl92e_init_gain(struct net_device *dev, u8 Operation);
extern void rtl92e_set_rf_off(struct net_device *dev); extern void rtl92e_set_rf_off(struct net_device *dev);
......
...@@ -876,7 +876,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) ...@@ -876,7 +876,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
priv->rtllib->handle_beacon = rtl8192_handle_beacon; priv->rtllib->handle_beacon = rtl8192_handle_beacon;
priv->rtllib->SetWirelessMode = rtl8192_SetWirelessMode; priv->rtllib->SetWirelessMode = rtl8192_SetWirelessMode;
priv->rtllib->LeisurePSLeave = LeisurePSLeave; priv->rtllib->LeisurePSLeave = LeisurePSLeave;
priv->rtllib->SetBWModeHandler = rtl8192_SetBWMode; priv->rtllib->SetBWModeHandler = rtl92e_set_bw_mode;
priv->rf_set_chan = rtl92e_set_channel; priv->rf_set_chan = rtl92e_set_channel;
priv->rtllib->start_send_beacons = rtl92e_start_beacon; priv->rtllib->start_send_beacons = rtl92e_start_beacon;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment