]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] qla4xxx: Fix getting BIDI CHAP for boot targets
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Fri, 7 Oct 2011 23:55:44 +0000 (16:55 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:09:32 +0000 (11:09 -0500)
commit28deb45cea848e8389530b17c987339b62fea459
tree76035efbda443d82e638d64dd261f96dd5bd0dc0
parent8de5b9582420acac5129ec7921711aded75406c0
[SCSI] qla4xxx: Fix getting BIDI CHAP for boot targets

If a boot target has a BIDI CHAP enabled, then read the user/secret from
CHAP table. Do not assume BIDI chap at peer CHAP index + 1

JIRA Key: UPSISCSI-156

Signed-off-by: Lalit Chandivade <lalit.chandivade@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_os.c