projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
841f263
)
rtw89: fix misconfiguration on hw_scan channel time
author
Po Hao Huang
<phhuang@realtek.com>
Fri, 1 Apr 2022 05:50:43 +0000
(13:50 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Wed, 6 Apr 2022 08:56:33 +0000
(11:56 +0300)
Without this patch, hw scan won't stay long enough on DFS/passive
channels. Found previous logic error and fix it.
Signed-off-by: Po Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link:
https://lore.kernel.org/r/20220401055043.12512-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtw89/fw.c
b/drivers/net/wireless/realtek/rtw89/fw.c
index
5985b40
..
fc77d9b
100644
(file)
--- a/
drivers/net/wireless/realtek/rtw89/fw.c
+++ b/
drivers/net/wireless/realtek/rtw89/fw.c
@@
-2101,7
+2101,7
@@
static void rtw89_hw_scan_add_chan(struct rtw89_dev *rtwdev, int chan_type,
ch_info->num_pkt = 0;
break;
case RTW89_CHAN_DFS:
- ch_info->period = m
in
_t(u8, ch_info->period,
+ ch_info->period = m
ax
_t(u8, ch_info->period,
RTW89_DFS_CHAN_TIME);
ch_info->dwell_time = RTW89_DWELL_TIME;
break;