[SCSI] qla2xxx: Clear any stale login-states during an adapter reset.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Wed, 23 Feb 2011 23:27:13 +0000 (15:27 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 25 Feb 2011 17:58:18 +0000 (12:58 -0500)
commit6aef87bea9d37d5adf45f3d1c674ccf6f95799ca
treebfbad013dee88c0bcd8d1b89de40f05dd13a4df4
parent7a78ceda1c294addb42a54e10d614c6ff0c4a6c9
[SCSI] qla2xxx: Clear any stale login-states during an adapter reset.

By not clearing the 'login needed' nor 'login outstanding' states
for an fcport after a big-hammer (adapter reset), the driver may
not properly perform a PLOGI/PRLI sequence (and lose visibility
to the rport) during a follow-on SNS scan.

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>
drivers/scsi/qla2xxx/qla_init.c