]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit725b82775e7901dc92afaddfa45683934e75c33e
tree183dd3e6357b63df0e0a1d804d66e4f2299615b9
parentb5b45b3cbd56162d9612dd76529d7ad9f6be9a56
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