diff options
author | 2021-03-10 11:12:54 +0000 | |
---|---|---|
committer | 2021-06-24 10:23:57 -0700 | |
commit | 9262793e59f0423437166a879a73d056b1fe6f9a (patch) | |
tree | 86fbb5c479cdfb592d4fa65fd8f0d70bc4aa2546 /net/unix/af_unix.c | |
parent | i40e: Fix error handling in i40e_vsi_open (diff) | |
download | wireguard-linux-9262793e59f0423437166a879a73d056b1fe6f9a.tar.xz wireguard-linux-9262793e59f0423437166a879a73d056b1fe6f9a.zip |
i40e: Fix autoneg disabling for non-10GBaseT links
Disabling autonegotiation was allowed only for 10GBaseT PHY.
The condition was changed to check if link media type is BaseT.
Fixes: 3ce12ee9d8f9 ("i40e: Fix order of checks when enabling/disabling autoneg in ethtool")
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Karen Sornek <karen.sornek@intel.com>
Signed-off-by: Dawid Lukwinski <dawid.lukwinski@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions