[SCSI] qla4xxx: Fix return code for qla4xxx_session_get_param.
authorManish Rangankar <manish.rangankar@qlogic.com>
Mon, 21 Jan 2013 04:51:04 +0000 (23:51 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 02:59:00 +0000 (13:59 +1100)
While reading sysfs chap_in_idx and chap_out_idx attribute, if chap
authentication is not set we get an error as "Invalid argument".

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found