[SCSI] fcoe: reset FIP ctlr link state on disable/enable
authorChris Leech <christopher.leech@intel.com>
Fri, 9 Apr 2010 21:22:23 +0000 (14:22 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 19:02:31 +0000 (14:02 -0500)
commit9ee50e48d8370dbcb42fa5b62b5bb3a9877e1f47
treed8fc23cf55ba258d97029ed46e433a8b90bee1f6
parent593abc0720d5639ba21834b082adf83762af39be
[SCSI] fcoe: reset FIP ctlr link state on disable/enable

The FIP controler state wasn't being reset on a disable.
A disable/enable sequence should be treated as a link event.
Otherwise, when using disable to mask a time when the link
is up but unusable, FCF discovery would attempt to continue
and login would jump directly to the non-FIP fallback on
enable.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c