aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2011-03-30 14:46:21 -0400
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 11:03:45 -0400
commitc8d6691b95eccce0033e925ba88b04eef4deac05 (patch)
treed55b31fab4d09203d64a3ff92609dc6868b5d1a5 /drivers
parenta74ec14ffb17bb8033e7b41470019d30c8300707 (diff)
[SCSI] qla2xxx: Free firmware PCB on logout request.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index 1ef46ab9105d..260d1b3b3ae3 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -1883,7 +1883,8 @@ qla24xx_fabric_logout(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain,
1883 lg->handle = MAKE_HANDLE(req->id, lg->handle); 1883 lg->handle = MAKE_HANDLE(req->id, lg->handle);
1884 lg->nport_handle = cpu_to_le16(loop_id); 1884 lg->nport_handle = cpu_to_le16(loop_id);
1885 lg->control_flags = 1885 lg->control_flags =
1886 __constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO); 1886 __constant_cpu_to_le16(LCF_COMMAND_LOGO|LCF_IMPL_LOGO|
1887 LCF_FREE_NPORT);
1887 lg->port_id[0] = al_pa; 1888 lg->port_id[0] = al_pa;
1888 lg->port_id[1] = area; 1889 lg->port_id[1] = area;
1889 lg->port_id[2] = domain; 1890 lg->port_id[2] = domain;