[SCSI] libfc: Always reset remote port roles when receiving PRLI
authorRobert Love <robert.w.love@intel.com>
Tue, 25 Aug 2009 21:03:04 +0000 (14:03 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:58 +0000 (12:07 -0500)
commit6bd054cbf3f7da3442f30a7d4eb7da4dd1c44f21
treed7371dffcb9d3d37583d1354b9f20c377c195337
parent9737e6a7b5b8af48f983cd565df93493597c565b
[SCSI] libfc: Always reset remote port roles when receiving PRLI

Don't trust previous roles, reset them when we receive a PRLI.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c