mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
ixgbe: Check for setup_internal_link method
Only call the internal_setup_link method when it is provided. This check is required for newer version parts. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Darin Miller <darin.j.miller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
164f739361
commit
a85ce532f2
1 changed files with 1 additions and 1 deletions
|
@ -1617,7 +1617,7 @@ static s32 ixgbe_handle_lasi_ext_t_x550em(struct ixgbe_hw *hw)
|
|||
if (status)
|
||||
return status;
|
||||
|
||||
if (lsc)
|
||||
if (lsc && phy->ops.setup_internal_link)
|
||||
return phy->ops.setup_internal_link(hw);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue