mwifiex: cancel pending scan during disconnect
authorXinming Hu <huxm@marvell.com>
Thu, 16 Jun 2016 13:22:23 +0000 (18:52 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 15:54:00 +0000 (18:54 +0300)
commitdec277f781cec519d96151bb740963b2a49f5f5d
treed8d8f124de8ec011de292ce35e30b64361e54b38
parenta9c790ba23eb3b3649f012f9633be2cb5e73e588
mwifiex: cancel pending scan during disconnect

It is obeserved that sometimes scan operation will block the disconnect
during system suspend. It's ok to cancel ongoing scan in this case. It
reduces unnecessary system suspend delay.

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