aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_fcs_lport.c
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2010-03-05 22:36:00 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-03-07 02:28:41 -0500
commitf926a05f5c1507aeae0e36175a03c0a19c201187 (patch)
treec345e6caf5e30c3acf04b119bfa78d10f36a94bd /drivers/scsi/bfa/bfa_fcs_lport.c
parent7af074dc9d343f69bab4bfd699e6d7ba09915fd9 (diff)
[SCSI] bfa: FCS authentication related changes.
Made FCS authentication related changes to state machines and header files. Made changes in FCS state machines to handle the case when secret string is NULL. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcs_lport.c')
-rw-r--r--drivers/scsi/bfa/bfa_fcs_lport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c
index 7bb182dcbd7d..4a51aac7ab04 100644
--- a/drivers/scsi/bfa/bfa_fcs_lport.c
+++ b/drivers/scsi/bfa/bfa_fcs_lport.c
@@ -931,6 +931,8 @@ bfa_fcs_port_get_attr(struct bfa_fcs_port_s *port,
931 if (port->fabric) { 931 if (port->fabric) {
932 port_attr->port_type = bfa_fcs_fabric_port_type(port->fabric); 932 port_attr->port_type = bfa_fcs_fabric_port_type(port->fabric);
933 port_attr->loopback = bfa_fcs_fabric_is_loopback(port->fabric); 933 port_attr->loopback = bfa_fcs_fabric_is_loopback(port->fabric);
934 port_attr->authfail =
935 bfa_fcs_fabric_is_auth_failed(port->fabric);
934 port_attr->fabric_name = bfa_fcs_port_get_fabric_name(port); 936 port_attr->fabric_name = bfa_fcs_port_get_fabric_name(port);
935 memcpy(port_attr->fabric_ip_addr, 937 memcpy(port_attr->fabric_ip_addr,
936 bfa_fcs_port_get_fabric_ipaddr(port), 938 bfa_fcs_port_get_fabric_ipaddr(port),