Skip to content

Commit c3bdcb9

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename function RxBaInactTimeout
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>
1 parent 8dcf978 commit c3bdcb9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/staging/rtl8192e/rtl819x_BAProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t)
530530
DELBA_REASON_TIMEOUT);
531531
}
532532

533-
void RxBaInactTimeout(struct timer_list *t)
533+
void rtllib_rx_ba_inact_timeout(struct timer_list *t)
534534
{
535535
struct rx_ts_record *pRxTs = from_timer(pRxTs, t,
536536
rx_admitted_ba_record.timer);

drivers/staging/rtl8192e/rtl819x_TSProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void TSInitialize(struct rtllib_device *ieee)
154154
pRxTS->num = count;
155155
INIT_LIST_HEAD(&pRxTS->rx_pending_pkt_list);
156156
timer_setup(&pRxTS->rx_admitted_ba_record.timer,
157-
RxBaInactTimeout, 0);
157+
rtllib_rx_ba_inact_timeout, 0);
158158

159159
timer_setup(&pRxTS->rx_pkt_pending_timer, RxPktPendingTimeout, 0);
160160

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
20092009
enum tr_select TxRxSelect);
20102010
void rtllib_ba_setup_timeout(struct timer_list *t);
20112011
void rtllib_tx_ba_inact_timeout(struct timer_list *t);
2012-
void RxBaInactTimeout(struct timer_list *t);
2012+
void rtllib_rx_ba_inact_timeout(struct timer_list *t);
20132013
void rtllib_reset_ba_entry(struct ba_record *pBA);
20142014
bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr,
20152015
u8 TID, enum tr_select TxRxSelect, bool bAddNewTs);

0 commit comments

Comments
 (0)