ixgbe: fix link status check for copper X550em
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 26 Sep 2016 21:08:18 +0000 (14:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 5 Nov 2016 00:13:50 +0000 (17:13 -0700)
commit21d882eb3a7e8d706247f32c0352390791751e8f
tree9a8545b14c74d3192665aa06ce018a87ac3de239
parent4dc4000b35119fb83266f978475f5881e263358e
ixgbe: fix link status check for copper X550em

Read the PHY register twice in order to get the correct value for
autoneg_status.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c