i40e: always set ks->base.speed in i40e_get_settings_link_up
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 26 Oct 2018 21:33:29 +0000 (14:33 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Nov 2018 18:56:33 +0000 (10:56 -0800)
commit61bfb0600551808ff12a1e06795ef960f0544a36
tree035558425aed2f046b78f2867de8e6690e6a6a46
parent7c3758f7839377ab67529cc50264a640636c47af
i40e: always set ks->base.speed in i40e_get_settings_link_up

In i40e_get_settings_link_up, set ks->base.speed to SPEED_UNKNOWN
in the case where we don't know the link speed.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c