[SCSI] fcoe: check netif operstate instead of IFF_UP & link state
authorChris Leech <christopher.leech@intel.com>
Fri, 9 Apr 2010 21:22:28 +0000 (14:22 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 19:02:32 +0000 (14:02 -0500)
commit03d29bc1d58dcfc2fa30aed7af199f24444c2052
treee1ffc9717e439aee7fda8658f21d3aab3bb6c396
parent9ee50e48d8370dbcb42fa5b62b5bb3a9877e1f47
[SCSI] fcoe: check netif operstate instead of IFF_UP & link state

Allow for dormant states while link configuration completes.
In the default link mode, this is equivalent to the old check.

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