Staging: rtl8192e: Rename function MgntQuery_TxRateExcludeCCKRates()
authorTree Davies <tdavies@darkphysics.net>
Fri, 26 Jan 2024 22:30:54 +0000 (14:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Feb 2024 16:28:17 +0000 (17:28 +0100)
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>
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c
drivers/staging/rtl8192e/rtllib_tx.c

index cd45a9c46a94bf28d522acec095295749659db98..c380d1c3e9b6aebcdf1d356e4b16983a26817322 100644 (file)
@@ -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 */
index b5fe471f765bd9a0d3a17c64987320ce65e03b00..c231e7acd6064ed92ee27b1188f737ec0156a366 100644 (file)
@@ -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;
index e61eb6e87ab43b85dcc59d50f0f2314b4ffe44ae..54100dd81505b166dbdec48fc81349162eccc6cf 100644 (file)
@@ -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;