carl9170: abort tasklet during usb reset

This patch prevents the tasklet code from
interfering while the firmware is down for
an unscheduled maintenance.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Christian Lamparter 2010-09-17 22:47:28 +02:00 committed by John W. Linville
parent 9adc9e0ff3
commit cf6487d0d6
1 changed files with 3 additions and 0 deletions

View File

@ -367,6 +367,9 @@ static void carl9170_usb_tasklet(unsigned long data)
{
struct ar9170 *ar = (struct ar9170 *) data;
if (!IS_INITIALIZED(ar))
return;
carl9170_usb_rx_work(ar);
/*