]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix scan_block flag handling
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 29 Jun 2016 12:02:40 +0000 (17:32 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 13:44:03 +0000 (16:44 +0300)
commitdfda1fc63c7b33a9c1c0c50ca6fd9da497a509a8
tree64c654c21f4e157a0e29f5d4cf149d79f9aa038e
parent87efd35683bc2d639fab8f7476a438bb14ad897d
mwifiex: fix scan_block flag handling

scan_block flag is used to block scan operation when 4 way handshake
is in progress. Sometimes it doesn't get cleared due to incomplete
association. An example is assoc request/response is done, but add key
operation get canceled in some corner cases. As a result, further
association/scan operations are blocked.

This patch fixes the problem by clearing scan_block flag.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c