[SCSI] qla2xxx: Correct issue where portstate does not transition during loop-resync.

If the Get Port Database call fails during local-loop
update, then schedule the DPC routine to perform a rescan as
the firmware would have updated the Get ID List port-entries
of their new state.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

authored by andrew.vasquez@qlogic.com and committed by James Bottomley c9d02acf 210d5350

+3
+3
drivers/scsi/qla2xxx/qla_init.c
··· 1939 1939 "information -- get_port_database=%x, " 1940 1940 "loop_id=0x%04x\n", 1941 1941 ha->host_no, rval2, new_fcport->loop_id)); 1942 + DEBUG2(printk("scsi(%ld): Scheduling resync...\n", 1943 + ha->host_no)); 1944 + set_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags); 1942 1945 continue; 1943 1946 } 1944 1947