mwifiex: Empty Tx queue during suspend
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 9 Mar 2016 12:21:11 +0000 (04:21 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 12:58:39 +0000 (14:58 +0200)
commit54f008497b9f09f0880dd84ce5608be4ad7cff13
tree6a6d23328e42ad1dd6bec3cf021fac24af96a541
parent107b87133361aa5502d7d3c82cdfff77bf8ebe18
mwifiex: Empty Tx queue during suspend

In cfg80211 suspend handler, stop the netif queue and
wait until all the Tx queues become empty. Start the
queues in resume handler.

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