]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf95bcae30056050a87dce133f7eb2577e8757169
tree0875b9b16efc71867399521662eb208f9147844a
parentd50d77a178dd5ddeb923300a9a189d36ef04bea2
wlcore: force recovery on resume if suspended without recovering

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>
drivers/net/wireless/ti/wlcore/main.c