diff options
Diffstat (limited to 'drivers/net/qlge/qlge_mpi.c')
-rw-r--r-- | drivers/net/qlge/qlge_mpi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge_mpi.c b/drivers/net/qlge/qlge_mpi.c index 7cb30fdc9bac..ff8424330a9c 100644 --- a/drivers/net/qlge/qlge_mpi.c +++ b/drivers/net/qlge/qlge_mpi.c | |||
@@ -453,6 +453,13 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp) | |||
453 | } | 453 | } |
454 | end: | 454 | end: |
455 | ql_write32(qdev, CSR, CSR_CMD_CLR_R2PCI_INT); | 455 | ql_write32(qdev, CSR, CSR_CMD_CLR_R2PCI_INT); |
456 | /* Restore the original mailbox count to | ||
457 | * what the caller asked for. This can get | ||
458 | * changed when a mailbox command is waiting | ||
459 | * for a response and an AEN arrives and | ||
460 | * is handled. | ||
461 | * */ | ||
462 | mbcp->out_count = orig_count; | ||
456 | return status; | 463 | return status; |
457 | } | 464 | } |
458 | 465 | ||