]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] qla2xxx: Restrict nic core reset to one function for mctp.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Wed, 22 Aug 2012 18:21:29 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 17:28:53 +0000 (18:28 +0100)
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_init.c

index 550feaf1f87a15c0a9adffaee8d96d4c3958c94b..153ab4ea446467abfabec32520abce6f81e9e8f1 100644 (file)
@@ -4153,7 +4153,7 @@ qla2xxx_mctp_dump(scsi_qla_host_t *vha)
                ha->mctp_dumped = 1;
        }
 
-       if (!ha->flags.nic_core_reset_hdlr_active) {
+       if (!ha->flags.nic_core_reset_hdlr_active && !ha->portnum) {
                ha->flags.nic_core_reset_hdlr_active = 1;
                rval = qla83xx_restart_nic_firmware(vha);
                if (rval)