[SCSI] fcoe: move link speed checking into its own routine
authorRobert Love <robert.w.love@intel.com>
Fri, 7 May 2010 22:18:35 +0000 (15:18 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 17 May 2010 02:22:32 +0000 (22:22 -0400)
commit5e4f8fe7b58f4da5043b7f219fe9193cddd9262e
tree4148ed9a37568f3734158415132354940af9b800
parentd29510a2968f87eaf455c606cd8802b6f8a0774b
[SCSI] fcoe: move link speed checking into its own routine

It doesn't make sense to update the link speed in the is_link_ok()
routine. Move it to it's own routine and acquire the device speed
when we're configuring the device initially as well as if there are
any netdev events received.

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