|
@@ -1883,7 +1883,8 @@ qla24xx_fabric_logout(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain,
|
|
lg->handle = MAKE_HANDLE(req->id, lg->handle);
|
|
lg->handle = MAKE_HANDLE(req->id, lg->handle);
|
|
lg->nport_handle = cpu_to_le16(loop_id);
|
|
lg->nport_handle = cpu_to_le16(loop_id);
|
|
lg->control_flags =
|
|
lg->control_flags =
|
|
- __constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO);
|
|
|
|
|
|
+ __constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO|
|
|
|
|
+ LCF_FREE_NPORT);
|
|
lg->port_id[0] = al_pa;
|
|
lg->port_id[0] = al_pa;
|
|
lg->port_id[1] = area;
|
|
lg->port_id[1] = area;
|
|
lg->port_id[2] = domain;
|
|
lg->port_id[2] = domain;
|