mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 01:20:01 -04:00
Staging: rtl8192e: Rename function MgntQuery_TxRateExcludeCCKRates()
Rename function MgntQuery_TxRateExcludeCCKRates to mgnt_query_tx_rate_exclude_cck_rates to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240126223106.986093-7-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
583b7e3b93
commit
e51e94692d
@@ -1821,6 +1821,6 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
|
||||
void rtllib_indicate_packets(struct rtllib_device *ieee,
|
||||
struct rtllib_rxb **prxbIndicateArray, u8 index);
|
||||
#define RT_ASOC_RETRY_LIMIT 5
|
||||
u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee);
|
||||
u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee);
|
||||
|
||||
#endif /* RTLLIB_H */
|
||||
|
||||
@@ -138,7 +138,7 @@ static void init_mgmt_queue(struct rtllib_device *ieee)
|
||||
ieee->mgmt_queue_head = 0;
|
||||
}
|
||||
|
||||
u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee)
|
||||
u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee)
|
||||
{
|
||||
u16 i;
|
||||
u8 query_rate = 0;
|
||||
|
||||
@@ -832,7 +832,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
||||
if (ieee->ht_info->iot_action &
|
||||
HT_IOT_ACT_WA_IOT_Broadcom) {
|
||||
tcb_desc->data_rate =
|
||||
MgntQuery_TxRateExcludeCCKRates(ieee);
|
||||
mgnt_query_tx_rate_exclude_cck_rates(ieee);
|
||||
tcb_desc->tx_dis_rate_fallback = false;
|
||||
} else {
|
||||
tcb_desc->data_rate = ieee->basic_rate;
|
||||
@@ -856,7 +856,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
||||
if (ieee->ht_info->iot_action &
|
||||
HT_IOT_ACT_WA_IOT_Broadcom) {
|
||||
tcb_desc->data_rate =
|
||||
MgntQuery_TxRateExcludeCCKRates(ieee);
|
||||
mgnt_query_tx_rate_exclude_cck_rates(ieee);
|
||||
tcb_desc->tx_dis_rate_fallback = false;
|
||||
} else {
|
||||
tcb_desc->data_rate = MGN_1M;
|
||||
|
||||
Reference in New Issue
Block a user