diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-11-21 13:37:47 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 19:39:05 +0400 |
commit | 2ec331aa52ef4c27df134c8208c60d7e85a0b77f (patch) | |
tree | d2b95df9802210e66d7d5c74c04f61352fbe6d00 /drivers/scsi/bfa/bfa_svc.c | |
parent | 7593e524254a8e477e28dc662ca27b8b0ab9f1d7 (diff) | |
download | linux-2ec331aa52ef4c27df134c8208c60d7e85a0b77f.tar.xz |
[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.c | 2 |
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: |