rtw89: fix misconfiguration on hw_scan channel time
authorPo Hao Huang <phhuang@realtek.com>
Fri, 1 Apr 2022 05:50:43 +0000 (13:50 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 6 Apr 2022 08:56:33 +0000 (11:56 +0300)
commit65ee4971a262a024e239e5d2b7f4dee1b3dff40e
tree52a023f29e80fb81e5741be59312cb41ed955e95
parent841f2633840ea2eb1ecea4a7efab9d19d9abaf62
rtw89: fix misconfiguration on hw_scan channel time

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