]> git.karo-electronics.de Git - linux-beck.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)
commitc8ccf3ade7851054f82bf88f5fcd393a394038a3
tree8825dbf11410116e78d545bb0bf6cee564780102
parente5988c62b9e6e5fb279188db916c51fdb5981403
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:16d25da94f3d654 ("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