* [PATCH] wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names
@ 2026-03-08 11:18 Jaime Saguillo Revilla
2026-03-09 1:09 ` Ping-Ke Shih
2026-03-16 6:10 ` Ping-Ke Shih
0 siblings, 2 replies; 3+ messages in thread
From: Jaime Saguillo Revilla @ 2026-03-08 11:18 UTC (permalink / raw)
To: pkshih; +Cc: linux-wireless, linux-kernel, Jaime Saguillo Revilla
Rename local variables in rtl92d_fill_h2c_cmd()
from wait_writeh2c_limmit/wait_h2c_limmit
to wait_writeh2c_limit/wait_h2c_limit.
No functional change.
Signed-off-by: Jaime Saguillo Revilla <jaime.saguillo@gmail.com>
---
.../wireless/realtek/rtlwifi/rtl8192d/fw_common.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192d/fw_common.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192d/fw_common.c
index aa54dbde6ea8..a255a5061d77 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192d/fw_common.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192d/fw_common.c
@@ -212,9 +212,9 @@ void rtl92d_fill_h2c_cmd(struct ieee80211_hw *hw,
struct rtl_priv *rtlpriv = rtl_priv(hw);
u8 boxcontent[4], boxextcontent[2];
u16 box_reg = 0, box_extreg = 0;
- u8 wait_writeh2c_limmit = 100;
+ u8 wait_writeh2c_limit = 100;
bool bwrite_success = false;
- u8 wait_h2c_limmit = 100;
+ u8 wait_h2c_limit = 100;
u32 h2c_waitcounter = 0;
bool isfw_read = false;
unsigned long flag;
@@ -261,8 +261,8 @@ void rtl92d_fill_h2c_cmd(struct ieee80211_hw *hw,
}
while (!bwrite_success) {
- wait_writeh2c_limmit--;
- if (wait_writeh2c_limmit == 0) {
+ wait_writeh2c_limit--;
+ if (wait_writeh2c_limit == 0) {
pr_err("Write H2C fail because no trigger for FW INT!\n");
break;
}
@@ -278,8 +278,8 @@ void rtl92d_fill_h2c_cmd(struct ieee80211_hw *hw,
isfw_read = _rtl92d_check_fw_read_last_h2c(hw, boxnum);
while (!isfw_read) {
- wait_h2c_limmit--;
- if (wait_h2c_limmit == 0) {
+ wait_h2c_limit--;
+ if (wait_h2c_limit == 0) {
rtl_dbg(rtlpriv, COMP_CMD, DBG_LOUD,
"Waiting too long for FW read clear HMEBox(%d)!\n",
boxnum);
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names
2026-03-08 11:18 [PATCH] wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names Jaime Saguillo Revilla
@ 2026-03-09 1:09 ` Ping-Ke Shih
2026-03-16 6:10 ` Ping-Ke Shih
1 sibling, 0 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2026-03-09 1:09 UTC (permalink / raw)
To: Jaime Saguillo Revilla
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Jaime Saguillo Revilla <jaime.saguillo@gmail.com> wrote:
> Rename local variables in rtl92d_fill_h2c_cmd()
> from wait_writeh2c_limmit/wait_h2c_limmit
> to wait_writeh2c_limit/wait_h2c_limit.
>
> No functional change.
>
> Signed-off-by: Jaime Saguillo Revilla <jaime.saguillo@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names
2026-03-08 11:18 [PATCH] wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names Jaime Saguillo Revilla
2026-03-09 1:09 ` Ping-Ke Shih
@ 2026-03-16 6:10 ` Ping-Ke Shih
1 sibling, 0 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2026-03-16 6:10 UTC (permalink / raw)
To: Jaime Saguillo Revilla, pkshih
Cc: linux-wireless, linux-kernel, Jaime Saguillo Revilla
Jaime Saguillo Revilla <jaime.saguillo@gmail.com> wrote:
> Rename local variables in rtl92d_fill_h2c_cmd()
> from wait_writeh2c_limmit/wait_h2c_limmit
> to wait_writeh2c_limit/wait_h2c_limit.
>
> No functional change.
>
> Signed-off-by: Jaime Saguillo Revilla <jaime.saguillo@gmail.com>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
e1b6b5af5d17 wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names
---
https://github.com/pkshih/rtw.git
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-16 6:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08 11:18 [PATCH] wifi: rtlwifi: rtl8192d: fix typo in H2C wait counter names Jaime Saguillo Revilla
2026-03-09 1:09 ` Ping-Ke Shih
2026-03-16 6:10 ` Ping-Ke Shih
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox