]> git.baikalelectronics.ru Git - kernel.git/commit
ipw2200: Check for -1 INTA in tasklet too.
authorIndan Zupancic <indan@nul.nu>
Sat, 8 Jan 2011 11:17:27 +0000 (12:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Jan 2011 20:40:53 +0000 (15:40 -0500)
commit253b23557ab87efc7ba34a4dd1773dd12f957b5f
tree29751a4eb0f9e1a41d914b9154ddac8daecd1452
parentf9ad28fabd5914b80d50d5ab277f4a4250336ac9
ipw2200: Check for -1 INTA in tasklet too.

This is an attempt to fix a long standing open bug:
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=1334

The interrupt handler checks for INTA being -1, apparently that means that the
hardware is gone. But the interrupt handler defers actual interrupt processing
to a tasklet. By the time the tasklet is run and checks INTA again, the
hardware might be gone and INTA be -1, which confuses the driver because all
event bits are set.

The patch applies to 2.6.37.

Signed-off-by: Indan Zupancic <indan@nul.nu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2200.c