From: Indan Zupancic Date: Sat, 8 Jan 2011 11:17:27 +0000 (+0100) Subject: ipw2200: Check for -1 INTA in tasklet too. X-Git-Tag: v2.6.38-rc1~50^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4a8cc46e8cc17910020964689f3faf6bffb8ad;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed