]> err.no Git - linux-2.6/commitdiff
[SCSI] qla2xxx: Correct management-server login-state synchronization issue.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Mon, 13 Aug 2007 01:22:54 +0000 (18:22 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 15 Aug 2007 18:02:57 +0000 (13:02 -0500)
Transitioning link-state via NOS/OLS requires a relogin to a
fabric's Management Server.  Request relogin when the firmware
issues a point-to-point asynchronous event (0x8030).

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_isr.c

index 50539da467bf0dcebcd49d0bd0711e2d8e0205b5..eecae9905ece16b2af17e3d133115778b5a7fb2a 100644 (file)
@@ -490,6 +490,7 @@ qla2x00_async_event(scsi_qla_host_t *ha, uint16_t *mb)
                set_bit(REGISTER_FC4_NEEDED, &ha->dpc_flags);
 
                ha->flags.gpsc_supported = 1;
+               ha->flags.management_server_logged_in = 0;
                break;
 
        case MBA_CHG_IN_CONNECTION:     /* Change in connection mode */