[SCSI] qla4xxx: Correct the validation to check in get_sys_info mailbox
authorNilesh Javali <nilesh.javali@qlogic.com>
Sat, 29 Dec 2012 07:24:53 +0000 (02:24 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 00:48:55 +0000 (11:48 +1100)
commite19dd66f105c54868e722f6b0a4f2edfc83f1ef9
treea1eaa0610e8ad54e7afe71152a10dc49b9bee835
parente951aca1beaf8493536cedfce4152531f7c4b59b
[SCSI] qla4xxx: Correct the validation to check in get_sys_info mailbox

Check mbox_sts[3] instead of mbox_sts[4] for ISP83xx to validate size
of data returned

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_nx.c