staging: rtl8192e: Rename variable SetBWModeHandler
Rename variable SetBWModeHandler to set_bw_mode_handler to avoid CamelCase which is not accepted by checkpatch. Signed-off-by: Yogesh Hegde <yogi.kernel@gmail.com> Link: https://lore.kernel.org/r/fe6c16cfe1d8f7ff41b5fce90fc63383fbfec4f5.1687183827.git.yogi.kernel@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
413cc33f27
commit
0ec908bc79
@ -718,7 +718,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
|
||||
priv->rtllib->handle_beacon = _rtl92e_handle_beacon;
|
||||
priv->rtllib->set_wireless_mode = rtl92e_set_wireless_mode;
|
||||
priv->rtllib->LeisurePSLeave = rtl92e_leisure_ps_leave;
|
||||
priv->rtllib->SetBWModeHandler = rtl92e_set_bw_mode;
|
||||
priv->rtllib->set_bw_mode_handler = rtl92e_set_bw_mode;
|
||||
priv->rf_set_chan = rtl92e_set_channel;
|
||||
|
||||
priv->rtllib->start_send_beacons = rtl92e_start_beacon;
|
||||
|
@ -833,11 +833,11 @@ static void HTSetConnectBwModeCallback(struct rtllib_device *ieee)
|
||||
ieee->set_chan(ieee->dev,
|
||||
ieee->current_network.channel);
|
||||
|
||||
ieee->SetBWModeHandler(ieee->dev, HT_CHANNEL_WIDTH_20_40,
|
||||
ieee->set_bw_mode_handler(ieee->dev, HT_CHANNEL_WIDTH_20_40,
|
||||
ht_info->CurSTAExtChnlOffset);
|
||||
} else {
|
||||
ieee->set_chan(ieee->dev, ieee->current_network.channel);
|
||||
ieee->SetBWModeHandler(ieee->dev, HT_CHANNEL_WIDTH_20,
|
||||
ieee->set_bw_mode_handler(ieee->dev, HT_CHANNEL_WIDTH_20,
|
||||
HT_EXTCHNL_OFFSET_NO_EXT);
|
||||
}
|
||||
|
||||
|
@ -1686,9 +1686,9 @@ struct rtllib_device {
|
||||
|
||||
/* check whether Tx hw resource available */
|
||||
short (*check_nic_enough_desc)(struct net_device *dev, int queue_index);
|
||||
void (*SetBWModeHandler)(struct net_device *dev,
|
||||
enum ht_channel_width bandwidth,
|
||||
enum ht_extchnl_offset Offset);
|
||||
void (*set_bw_mode_handler)(struct net_device *dev,
|
||||
enum ht_channel_width bandwidth,
|
||||
enum ht_extchnl_offset Offset);
|
||||
bool (*GetNmodeSupportBySecCfg)(struct net_device *dev);
|
||||
void (*set_wireless_mode)(struct net_device *dev, u8 wireless_mode);
|
||||
bool (*GetHalfNmodeSupportByAPsHandler)(struct net_device *dev);
|
||||
|
@ -335,7 +335,7 @@ void rtllib_wx_sync_scan_wq(void *data)
|
||||
b40M = 1;
|
||||
chan_offset = ieee->ht_info->CurSTAExtChnlOffset;
|
||||
bandwidth = (enum ht_channel_width)ieee->ht_info->bCurBW40MHz;
|
||||
ieee->SetBWModeHandler(ieee->dev, HT_CHANNEL_WIDTH_20,
|
||||
ieee->set_bw_mode_handler(ieee->dev, HT_CHANNEL_WIDTH_20,
|
||||
HT_EXTCHNL_OFFSET_NO_EXT);
|
||||
}
|
||||
|
||||
@ -348,7 +348,7 @@ void rtllib_wx_sync_scan_wq(void *data)
|
||||
ieee->set_chan(ieee->dev, chan - 2);
|
||||
else
|
||||
ieee->set_chan(ieee->dev, chan);
|
||||
ieee->SetBWModeHandler(ieee->dev, bandwidth, chan_offset);
|
||||
ieee->set_bw_mode_handler(ieee->dev, bandwidth, chan_offset);
|
||||
} else {
|
||||
ieee->set_chan(ieee->dev, chan);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user