qlge: Fix queueing of firmware handler in ISR.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 5 Oct 2009 11:46:48 +0000 (11:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 00:33:36 +0000 (17:33 -0700)
commit5ee22a5aa9cd85527b93b24402db9ae2567d5aa6
tree3aab2dc6c3507a3e0b5cd0d13c15d3523dab8f2c
parentd799bbfbe2dc94b95ad5735c99769892675c3ada
qlge: Fix queueing of firmware handler in ISR.

Check that we are not already polling firmware events before we queue the
firmware event worker, then disable firmware interrupts.
Otherwise we can queue the same event multiple times.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c