qlge: Fix firmware event handler loop.
authorRon Mercer <ron.mercer@qlogic.com>
Sun, 7 Jun 2009 13:58:25 +0000 (13:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jun 2009 07:09:44 +0000 (00:09 -0700)
commitd6f58c2e63b4197cba99edd3a4c5c7f4935708fb
treef5205161ce569aaa06f1f8c8db47b30bd2d821c5
parentdf911e2dc4c59e259b65c502fe0679ade309b575
qlge: Fix firmware event handler loop.

Check status on every iteration of event handler loop and exit
if an error occurred.  If an error occurred then recover process
will be queued so this loop should no continue.

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