qlge: fix a eeh handler to not add a pending timer
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 1 Jul 2010 03:00:18 +0000 (03:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jul 2010 04:59:06 +0000 (21:59 -0700)
commit7ae80abdba0644e12ac17da567a2db1efc1bf8a8
treef7e71b7a6c0383e982e02c0b74adb16f36263006
parent72046d84f0d6e3047f4d5a5173260141983b2b61
qlge: fix a eeh handler to not add a pending timer

On some ocasions the function qlge_io_resume() tries to add a
pending timer, which causes the system to hit the BUG() on
add_timer() function.

This patch removes the timer during the EEH recovery.

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