mwifiex: fix the incorrect WARN_ON during suspend
authorVishal Thanki <vishalthanki@gmail.com>
Thu, 7 Apr 2016 21:37:12 +0000 (23:37 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Apr 2016 13:03:44 +0000 (16:03 +0300)
commit84349698f05dc7ed6df6772d43175eb3703ed8dc
treeb426541bd17a3623b3bb2dbc85ae63cb0b466f4f
parentbcc920e8f08336cbbdcdba7c4449c27137e6b4b9
mwifiex: fix the incorrect WARN_ON during suspend

During system suspend, there is a kernel WARNING issued if there
is a pending command present. By marking the wait queue disabled
after calling the command completion routine fixes it.

Signed-off-by: Vishal Thanki <vishalthanki@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cmdevt.c