qlge: Fix early exit from mbox cmd complete wait.
authorRon Mercer <ron.mercer@qlogic.com>
Fri, 6 Nov 2009 07:44:57 +0000 (07:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:33:37 +0000 (20:33 -0800)
This line was accidentally left out of the previous commit #
da03945140a035a2962f7f93e359085596f20499 ("qlge: Fix firmware mailbox
command timeout.").

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

index bcf13c96f73ff5d22137975b345acb27128a2fd1..aec05f26610797ceaffe92c063c87f3c999ae64b 100644 (file)
@@ -499,7 +499,7 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp)
                /* Wait for the interrupt to come in. */
                status = ql_wait_mbx_cmd_cmplt(qdev);
                if (status)
-                       goto end;
+                       continue;
 
                /* Process the event.  If it's an AEN, it
                 * will be handled in-line or a worker