]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix failed to reconnect after interface disabled/enabled
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 25 Jul 2016 15:51:06 +0000 (21:21 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 09:57:15 +0000 (12:57 +0300)
commitdd0bf55738a43707e0c372604cf74de7bbb738b9
tree8825dbf11410116e78d545bb0bf6cee564780102
parent6c826ea0d9a997d3679fe1a4a3888c63a6a4525f
mwifiex: fix failed to reconnect after interface disabled/enabled

Recent patch "mwifiex: fix NULL pointer" skips extended scan event
handling when suspend is in progress. It created a problem for scan
after interface disabled/enabled case.

This patch solves the problem by checking netif_running() status.

Fixes:5def3aa873595d7 ("mwifiex: fix NULL pointer dereference during suspend")
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_event.c