Staging: rtl8192e: Rename function rtllib_rx_ADDBARsp()
authorTree Davies <tdavies@darkphysics.net>
Fri, 26 Jan 2024 22:30:50 +0000 (14:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Feb 2024 16:28:17 +0000 (17:28 +0100)
Rename function rtllib_rx_ADDBARsp to rtllib_rx_add_ba_rsp to
fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240126223106.986093-3-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c

index ee9ce392155c310cc4c1a7c5e461768e3a7979b9..da7319c124e77250cacb23cc849c264090082479 100644 (file)
@@ -300,7 +300,7 @@ OnADDBAReq_Fail:
        }
 }
 
-int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
+int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb)
 {
        struct ieee80211_hdr_3addr *rsp = NULL;
        struct ba_record *pending_ba, *admitted_ba;
index 13a901c0db1d6067be5ae77153f3b66c571f2687..94f370b40378a80bf34d6338cf2e81c0443abcf5 100644 (file)
@@ -1772,7 +1772,7 @@ void ht_reset_iot_setting(struct rt_hi_throughput *ht_info);
 bool is_ht_half_nmode_aps(struct rtllib_device *ieee);
 u16  tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate);
 int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb);
-int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb);
+int rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb);
 int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb);
 void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts,
                           u8 policy, u8 overwrite_pending);
index 44b36cc867d98c3497709551707ba0ade697c323..cf855ba39c106b0fef0cee72f916690d2937cf09 100644 (file)
@@ -1556,7 +1556,7 @@ static void rtllib_process_action(struct rtllib_device *ieee,
                        rtllib_rx_ADDBAReq(ieee, skb);
                        break;
                case ACT_ADDBARSP:
-                       rtllib_rx_ADDBARsp(ieee, skb);
+                       rtllib_rx_add_ba_rsp(ieee, skb);
                        break;
                case ACT_DELBA:
                        rtllib_rx_DELBA(ieee, skb);