]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: prevent recovery in the middle of resume
authorArik Nemtsov <arik@wizery.com>
Thu, 21 Jun 2012 15:10:52 +0000 (18:10 +0300)
committerLuciano Coelho <coelho@ti.com>
Sat, 23 Jun 2012 06:32:33 +0000 (09:32 +0300)
commitcde9581eb8f17717911ce9413fc8987b2345e103
tree183dd3e6357b63df0e0a1d804d66e4f2299615b9
parent221eac5e419b092c7c2dd56cc3e4409b87338adb
wlcore: prevent recovery in the middle of resume

Take the mutex early in the resume handler and use the locked version of
the IRQ routine. This ensures any recoveries queued will only take place
after resume has fully completed.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c