ath9k_htc: fix race conditions when stop device
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 25 Jan 2011 13:15:12 +0000 (14:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jan 2011 21:41:10 +0000 (16:41 -0500)
We do not kill any scheduled tasklets when stopping device, that may
cause usage of resources after free. Disable interrupts, kill tasklets
and then works in correct order.

Cc: stable@kernel.org
Tested-by: Sujith <m.sujith@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found