* [PATCH] staging: rtl8723bs: rename CamelCase variable wRxSeqInitialValue
@ 2026-10-11 6:56 Feiyu Wang
0 siblings, 0 replies; only message in thread
From: Feiyu Wang @ 2026-10-11 6:56 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-staging, linux-kernel, Feiyu Wang
Rename wRxSeqInitialValue to rx_seq_initial_value to comply with
kernel coding style.
Found by checkpatch.pl strict.
Signed-off-by: Feiyu Wang <wangfeiyu_mc_code@163.com>
---
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
index 11351aa4f4d0..ba7e53140bdd 100644
--- a/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
+++ b/drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
@@ -176,7 +176,7 @@ struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr)
struct __queue *pfree_sta_queue;
struct recv_reorder_ctrl *preorder_ctrl;
int i = 0;
- u16 wRxSeqInitialValue = 0xffff;
+ u16 rx_seq_initial_value = 0xffff;
pfree_sta_queue = &pstapriv->free_sta_queue;
@@ -214,7 +214,7 @@ struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr)
/* So, we initialize the tid_rxseq variable as the 0xffff. */
for (i = 0; i < 16; i++)
- memcpy(&psta->sta_recvpriv.rxcache.tid_rxseq[i], &wRxSeqInitialValue, 2);
+ memcpy(&psta->sta_recvpriv.rxcache.tid_rxseq[i], &rx_seq_initial_value, 2);
timer_setup(&psta->addba_retry_timer, addba_timer_hdl, 0);
--
2.55.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-11 6:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11 6:56 [PATCH] staging: rtl8723bs: rename CamelCase variable wRxSeqInitialValue Feiyu Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®