From: Chad Dupuis Date: Fri, 11 Apr 2014 20:54:33 +0000 (-0400) Subject: qla2xxx: Clear loop_id for ports that are marked lost during fabric scanning. X-Git-Tag: next-20140521~17^2~52 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a5c69bf0c3c157ed438cca4b218aca455b30019;p=karo-tx-linux.git qla2xxx: Clear loop_id for ports that are marked lost during fabric scanning. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 3260ec565d03..2d97d7c146e4 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -3407,7 +3407,7 @@ qla2x00_configure_fabric(scsi_qla_host_t *vha) fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); - fcport->loop_id = FC_NO_LOOP_ID; + qla2x00_clear_loop_id(fcport); } } }