[SCSI] qla4xxx: Fix iocb_cnt calculation in qla4xxx_send_mbox_iocb()
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Thu, 2 May 2013 07:42:10 +0000 (03:42 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 23:16:50 +0000 (16:16 -0700)
commitd522844a315233162dd715c620c14ac47110eeca
tree83057b1b0b8b2a63f6e31a0255c19aaf799d5c9e
parent98b8e179edb768c57b8b18e4d61d4b02d1b82b37
[SCSI] qla4xxx: Fix iocb_cnt calculation in qla4xxx_send_mbox_iocb()

Increment 'ha->iocb_cnt' before adding mbox_iocb to iocb queue.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_iocb.c