wlcore: force recovery on resume if suspended without recovering
authorArik Nemtsov <arik@wizery.com>
Thu, 21 Jun 2012 15:10:49 +0000 (18:10 +0300)
committerLuciano Coelho <coelho@ti.com>
Sat, 23 Jun 2012 06:32:31 +0000 (09:32 +0300)
If an error is detected after mac80211 is already suspended, the recovery
work will not be queued. This will leave the driver in a bad state on
resume.

Detect this in the resume op and re-queue a recovery.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

No differences found