ixgbe: fix LED blink logic to check for link
commit8d233633bab501567841aaa2935963fb908c9523
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 29 Oct 2011 06:54:55 +0000 (29 06:54 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Nov 2011 12:21:51 +0000 (16 04:21 -0800)
treecec83c3ffcd9c7b0d0976ddef0e0abb19281da54
parentef456f858919ef7f40217ad8a5ed4e1e27c7ae6f
ixgbe: fix LED blink logic to check for link

Previously the driver would force link without checking whether the link was
already established. This caused some inconsistencies in the LED blink rate.

Do not force link if link is already up.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c