summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_svc.c
diff options
context:
space:
mode:
authorVijaya Mohan Guvva <vmohan@brocade.com>2013-11-21 01:37:47 -0800
committerJames Bottomley <JBottomley@Parallels.com>2013-12-19 07:39:05 -0800
commit2ec331aa52ef4c27df134c8208c60d7e85a0b77f (patch)
treed2b95df9802210e66d7d5c74c04f61352fbe6d00 /drivers/scsi/bfa/bfa_svc.c
parent7593e524254a8e477e28dc662ca27b8b0ab9f1d7 (diff)
downloadblackbird-op-linux-2ec331aa52ef4c27df134c8208c60d7e85a0b77f.tar.gz
blackbird-op-linux-2ec331aa52ef4c27df134c8208c60d7e85a0b77f.zip
[SCSI] bfa: Observed auto D-port mode instead of manual
Observed Auto mode in the HBA side while doing manual D-Port test on the switch side. Mode is not passed to BFA from firmware when the test is triggered by switch side. BFA just blindly using Auto mode. Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_svc.c')
-rw-r--r--drivers/scsi/bfa/bfa_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_svc.c b/drivers/scsi/bfa/bfa_svc.c
index 6c41e57fd752..625225f31081 100644
--- a/drivers/scsi/bfa/bfa_svc.c
+++ b/drivers/scsi/bfa/bfa_svc.c
@@ -6758,7 +6758,7 @@ bfa_dport_scn(struct bfa_dport_s *dport, struct bfi_diag_dport_scn_s *msg)
dport->rp_pwwn = msg->info.teststart.pwwn;
dport->rp_nwwn = msg->info.teststart.nwwn;
dport->lpcnt = cpu_to_be32(msg->info.teststart.numfrm);
- bfa_dport_result_start(dport, BFA_DPORT_OPMODE_AUTO);
+ bfa_dport_result_start(dport, msg->info.teststart.mode);
break;
case BFI_DPORT_SCN_SUBTESTSTART:
OpenPOWER on IntegriCloud