Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a85ce532 authored by Mark Rustad's avatar Mark Rustad Committed by Jeff Kirsher
Browse files

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: default avatarMark Rustad <mark.d.rustad@intel.com>
Tested-by: default avatarDarin Miller <darin.j.miller@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 164f7393
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;