ixgbe: Set lan_id before first I2C eeprom access
Orabug:
21918732
The lan_id is being set after a previous I2C eeprom access which
makes no sense because it needs to be set before any access. Move
the setting to before the access.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit
da4ea4baf77c9e45c53671e465043ffaf26fd45d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>