diff options
author | David S. Miller <davem@davemloft.net> | 2011-01-12 18:52:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-12 18:52:31 -0800 |
commit | bb1231052e265e960d902ab32e67c5ccdabc9434 (patch) | |
tree | 3dd999a598355ff0d82f56eea1ffa49a81c8a42c /drivers/net/wireless/ipw2x00/ipw2200.c | |
parent | 72b43d0898e97f588293b4a24b33c58c46633d81 (diff) | |
parent | 4e5518ca53be29c1ec3c00089c97bef36bfed515 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 8d6ed5f6f46..ae438ed80c2 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c @@ -1973,6 +1973,13 @@ static void ipw_irq_tasklet(struct ipw_priv *priv) inta = ipw_read32(priv, IPW_INTA_RW); inta_mask = ipw_read32(priv, IPW_INTA_MASK_R); + + if (inta == 0xFFFFFFFF) { + /* Hardware disappeared */ + IPW_WARNING("TASKLET INTA == 0xFFFFFFFF\n"); + /* Only handle the cached INTA values */ + inta = 0; + } inta &= (IPW_INTA_MASK_ALL & inta_mask); /* Add any cached INTA values that need to be handled */ |