]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Ensure PLOGI is sent to Fabric Management-Server upon request.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Tue, 3 Jul 2012 16:51:56 +0000 (09:51 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 09:44:27 +0000 (02:44 -0700)
The internal firmware state for this 'well known port' may
be out-of-sync after a link-flop, causing a follow-on
CT-request to be dropped due to the requestor not having
been 'logged in'.  Correct the code by not passing the
'conditional' directive for the PLOGI request.

JIRA Key: V2632FC-232

drivers/scsi/qla2xxx/qla_gs.c

index 39fffc42dd05f87793f0c31edde15e2fb6a0887c..624f83015b29b18f6b17d47ad8699461426c2d09 100644 (file)
@@ -1129,7 +1129,7 @@ qla2x00_mgmt_svr_login(scsi_qla_host_t *vha)
                return ret;
 
        rval = ha->isp_ops->fabric_login(vha, vha->mgmt_svr_loop_id, 0xff, 0xff,
-           0xfa, mb, BIT_1|BIT_0);
+           0xfa, mb, BIT_1);
        if (rval != QLA_SUCCESS || mb[0] != MBS_COMMAND_COMPLETE) {
                if (rval == QLA_MEMORY_ALLOC_FAILED)
                        ql_dbg(ql_dbg_disc, vha, 0x2085,