diff options
author | Po-Hao Huang <phhuang@realtek.com> | 2023-04-14 20:13:12 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-04-20 15:33:47 +0300 |
commit | a1b8015da57a783b3ceebd8e114afbe07536bd54 (patch) | |
tree | 37198dc047a2f867f82113a1450280752367ec0b /kernel/kallsyms.c | |
parent | 982f4a2004f712ce7aed7f7e69fa64e4c06eee7d (diff) |
wifi: rtw88: prevent scan abort with other VIFs
Only abort scan with current scanning VIF. If we have more than one
interface, we could call rtw_hw_scan_abort() with the wrong VIF as
input. This avoids potential null pointer being accessed when actually
the other VIF is scanning.
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/20230414121312.17954-1-pkshih@realtek.com
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions