* [PATCH 08/12] Staging: rtl8192e: Rename function RxBaInactTimeout
@ 2023-07-12 23:34 Tree Davies
0 siblings, 0 replies; only message in thread
From: Tree Davies @ 2023-07-12 23:34 UTC (permalink / raw)
To: gregkh, philipp.g.hortmann, anjan, error27
Cc: tdavies, linux-staging, linux-kernel
Rename function RxBaInactTimeout to rx_ba_inact_timeout
in order to Fix checkpatch warning: Avoid CamelCase
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +-
drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +-
drivers/staging/rtl8192e/rtllib.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
index 675f3ba15a7a..6b5da38353ee 100644
--- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
@@ -530,7 +530,7 @@ void tx_ba_inact_timeout(struct timer_list *t)
DELBA_REASON_TIMEOUT);
}
-void RxBaInactTimeout(struct timer_list *t)
+void rx_ba_inact_timeout(struct timer_list *t)
{
struct rx_ts_record *pRxTs = from_timer(pRxTs, t,
rx_admitted_ba_record.timer);
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index 7f0340dd764d..2f7d5324edb9 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -175,7 +175,7 @@ void TSInitialize(struct rtllib_device *ieee)
0);
timer_setup(&pRxTS->rx_admitted_ba_record.timer,
- RxBaInactTimeout, 0);
+ rx_ba_inact_timeout, 0);
timer_setup(&pRxTS->rx_pkt_pending_timer, RxPktPendingTimeout, 0);
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 4f55dcf42bc7..0f84ee1d418e 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -2015,7 +2015,7 @@ void ts_init_del_ba(struct rtllib_device *ieee,
enum tr_select TxRxSelect);
void ba_setup_time_out(struct timer_list *t);
void tx_ba_inact_timeout(struct timer_list *t);
-void RxBaInactTimeout(struct timer_list *t);
+void rx_ba_inact_timeout(struct timer_list *t);
void ResetBaEntry(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);
--
2.41.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-12 23:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 23:34 [PATCH 08/12] Staging: rtl8192e: Rename function RxBaInactTimeout Tree Davies
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox