Staging: rtl8192e: Rename function rtllib_rx_ADDBAReq()
authorTree Davies <tdavies@darkphysics.net>
Tue, 27 Feb 2024 04:41:38 +0000 (20:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 14:15:08 +0000 (14:15 +0000)
Rename function rtllib_rx_ADDBAReq to rtllib_rx_add_ba_req to fix
checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240227044157.407379-2-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 da7319c124e77250cacb23cc849c264090082479..bd1d86e0323d5f35f21c6205eca1ea8c56294cd5 100644 (file)
@@ -211,7 +211,7 @@ static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst,
                netdev_dbg(ieee->dev, "Failed to generate DELBA packet.\n");
 }
 
-int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
+int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
 {
        struct ieee80211_hdr_3addr *req = NULL;
        u16 rc = 0;
index ac6c52b588948e3485682eb0fe116d87c74dee49..cb7d6b24117abf6cbeab344462ac07b7fe0d6acd 100644 (file)
@@ -1754,7 +1754,7 @@ u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame);
 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_add_ba_req(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,
index 2545ac8963c42539e925cd346be6693d6a867b9c..f12ee685e989beb62973c077aedd475a4f315e03 100644 (file)
@@ -1551,7 +1551,7 @@ static void rtllib_process_action(struct rtllib_device *ieee,
        case ACT_CAT_BA:
                switch (*act) {
                case ACT_ADDBAREQ:
-                       rtllib_rx_ADDBAReq(ieee, skb);
+                       rtllib_rx_add_ba_req(ieee, skb);
                        break;
                case ACT_ADDBARSP:
                        rtllib_rx_add_ba_rsp(ieee, skb);