qlge: Save status from firmware crash (system err).
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 3 Mar 2009 12:10:36 +0000 (12:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 07:50:49 +0000 (23:50 -0800)
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 2c1d2205c653a5cdfd239357c9548e0afc1b7b92..f9a237165fc1d0a770d51b1be2a5938f52285eba 100644 (file)
@@ -415,7 +415,10 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
                break;
 
        case AEN_SYS_ERR:
+               QPRINTK(qdev, DRV, ERR,
+                       "System Error.\n");
                ql_queue_fw_error(qdev);
+               status = -EIO;
                break;
 
        default: