Commit cf6487d0 authored by Christian Lamparter's avatar Christian Lamparter Committed by John W. Linville

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: default avatarChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9adc9e0f
...@@ -367,6 +367,9 @@ static void carl9170_usb_tasklet(unsigned long data) ...@@ -367,6 +367,9 @@ static void carl9170_usb_tasklet(unsigned long data)
{ {
struct ar9170 *ar = (struct ar9170 *) data; struct ar9170 *ar = (struct ar9170 *) data;
if (!IS_INITIALIZED(ar))
return;
carl9170_usb_rx_work(ar); carl9170_usb_rx_work(ar);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment