libertas: fix ps-mode related removal problems
authorAndreas Kemnade <andreas@kemnade.info>
Sat, 30 Jan 2016 17:01:55 +0000 (18:01 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 6 Feb 2016 12:02:14 +0000 (14:02 +0200)
commit0b8802dc5f59a4517e4130dc3606eb973760928a
tree69921da0f2f3ffba5eee78baaad8c57fcdc7243e
parentfada24a5477073dd8fa84baf25ead204dc1dcb18
libertas: fix ps-mode related removal problems

When the device is remove e.g. because of going to suspend
 mode with powersaving enabled, lbs_remove_card tries to exit
powersaving state even when already woken up. That command is
not processed properly in that situation, since the command
processing queue is already stopped, so it waits forever
for the command being processed, so disable it.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/main.c