diff options
author | Limin Zhu <liminzhu@marvell.com> | 2017-11-30 07:22:34 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-12-07 14:30:57 +0100 |
commit | c61cfe49f0f0f0d1f8b56d0b045838d597e8c3a3 (patch) | |
tree | 81fee40ed8e731dfa2f09bef8e07293e0b9b71ec /drivers/bcma/driver_pcie2.c | |
parent | mwifiex: do not support change AP interface to station mode (diff) | |
download | linux-c61cfe49f0f0f0d1f8b56d0b045838d597e8c3a3.tar.xz linux-c61cfe49f0f0f0d1f8b56d0b045838d597e8c3a3.zip |
mwifiex: cfg80211: do not change virtual interface during scan processing
(1) Change virtual interface operation in cfg80211 process reset and
reinitilize private data structure.
(2) Scan result event processed in main process will dereference private
data structure concurrently, ocassionly crash the kernel.
The cornel case could be trigger by below steps:
(1) wpa_cli mlan0 scan
(2) ./hostapd mlan0.conf
Cfg80211 asynchronous scan procedure is not all the time operated
under rtnl lock, here we add the protect to serialize the cfg80211
scan and change_virtual interface operation.
Signed-off-by: Limin Zhu <liminzhu@marvell.com>
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma/driver_pcie2.c')
0 files changed, 0 insertions, 0 deletions