]> git.karo-electronics.de Git - linux-beck.git/commit
ixgbe: set device if before calling get_invariants
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 12 Oct 2016 19:34:25 +0000 (12:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 5 Nov 2016 00:24:46 +0000 (17:24 -0700)
commit55570b6f5e2caa37a5bbd634cbe5ed126d3656f9
tree9d71fbc8c6936426580eeeb2ec1884453e013d9e
parentb71f6c40bb36f9691420f66283f3c3acca11016b
ixgbe: set device if before calling get_invariants

Fix an issue where set_phy_power was NULL for X550 copper devices
because get_invariants was called before hw->device_id was set.

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_main.c