OSDN Git Service

rtw88: refine unwanted h2c command
authorPo-Hao Huang <phhuang@realtek.com>
Fri, 28 May 2021 03:29:01 +0000 (11:29 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Jun 2021 15:21:31 +0000 (18:21 +0300)
commitae04f15b1a83e813f5c270f44692766dc3c5a6ce
tree5bf4db6b805eeae4569f4dec7c7222fbb03c7fd1
parent7b80f3e48c4b0ff85ff91945a2537d0bbc3e3cc4
rtw88: refine unwanted h2c command

Don't send beacon filter h2c when there is no valid context.
Return early instead of printing out warning messages, so others
won't get confused.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210528032901.12927-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/fw.c