Staging: rtl8192e: Rename function RxBaInactTimeout
authorTree Davies <tdavies@darkphysics.net>
Mon, 7 Aug 2023 05:47:32 +0000 (22:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Aug 2023 12:25:17 +0000 (14:25 +0200)
Rename function RxBaInactTimeout to rtllib_rx_ba_inact_timeout in order
to Fix checkpatch warning: Avoid CamelCase.

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

index 1eac56f..0e33728 100644 (file)
@@ -530,7 +530,7 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t)
                          DELBA_REASON_TIMEOUT);
 }
 
-void RxBaInactTimeout(struct timer_list *t)
+void rtllib_rx_ba_inact_timeout(struct timer_list *t)
 {
        struct rx_ts_record *pRxTs = from_timer(pRxTs, t,
                                              rx_admitted_ba_record.timer);
index c57bc0c..24a8b9f 100644 (file)
@@ -154,7 +154,7 @@ void TSInitialize(struct rtllib_device *ieee)
                pRxTS->num = count;
                INIT_LIST_HEAD(&pRxTS->rx_pending_pkt_list);
                timer_setup(&pRxTS->rx_admitted_ba_record.timer,
-                           RxBaInactTimeout, 0);
+                           rtllib_rx_ba_inact_timeout, 0);
 
                timer_setup(&pRxTS->rx_pkt_pending_timer, RxPktPendingTimeout, 0);
 
index 3383dab..0c812eb 100644 (file)
@@ -2009,7 +2009,7 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
                           enum tr_select TxRxSelect);
 void rtllib_ba_setup_timeout(struct timer_list *t);
 void rtllib_tx_ba_inact_timeout(struct timer_list *t);
-void RxBaInactTimeout(struct timer_list *t);
+void rtllib_rx_ba_inact_timeout(struct timer_list *t);
 void rtllib_reset_ba_entry(struct ba_record *pBA);
 bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr,
           u8 TID, enum tr_select TxRxSelect, bool bAddNewTs);