Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271109
b: refs/heads/master
c: 0854f66
h: refs/heads/master
i:
  271107: 453f73e
v: v3
  • Loading branch information
Lalit Chandivade authored and James Bottomley committed Oct 16, 2011
1 parent 73c431c commit 04a0854
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aecc3130da7d3a02439bcba428e9fe470ec11f6f
refs/heads/master: 0854f665a1cbb4566d3ebe449169b0200b8cdad0
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/qla4xxx/ql4_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ struct ipaddress_config {

#define QL4_CHAP_MAX_NAME_LEN 256
#define QL4_CHAP_MAX_SECRET_LEN 100
#define LOCAL_CHAP 0
#define BIDI_CHAP 1

struct ql4_chap_format {
u8 intr_chap_name[QL4_CHAP_MAX_NAME_LEN];
Expand Down
7 changes: 4 additions & 3 deletions trunk/drivers/scsi/qla4xxx/ql4_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,6 @@ void qla4xxx_get_conn_event_log(struct scsi_qla_host * ha)
uint32_t max_event_log_entries;
uint8_t i;


memset(&mbox_cmd, 0, sizeof(mbox_cmd));
memset(&mbox_sts, 0, sizeof(mbox_cmd));

Expand Down Expand Up @@ -1578,7 +1577,8 @@ int qla4xxx_set_param_ddbentry(struct scsi_qla_host *ha,
}

rval = qla4xxx_set_chap(ha, sess->username,
sess->password, idx, 0);
sess->password, idx,
LOCAL_CHAP);
if (rval)
goto exit_set_param;

Expand All @@ -1599,7 +1599,8 @@ int qla4xxx_set_param_ddbentry(struct scsi_qla_host *ha,
goto exit_set_param;
}
rval = qla4xxx_set_chap(ha, sess->username_in,
sess->password_in, idx, 0);
sess->password_in, idx,
BIDI_CHAP);
if (rval)
goto exit_set_param;
}
Expand Down

0 comments on commit 04a0854

Please sign in to comment.