You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
r8152: nway reset after setting eee
Restart autonegotiation is necessary after setting EEE. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b47bd8d279
commit
9d31a7b9f9
@@ -3471,6 +3471,8 @@ rtl_ethtool_set_eee(struct net_device *net, struct ethtool_eee *edata)
|
||||
goto out;
|
||||
|
||||
ret = tp->rtl_ops.eee_set(tp, edata);
|
||||
if (!ret)
|
||||
ret = mii_nway_restart(&tp->mii);
|
||||
|
||||
usb_autopm_put_interface(tp->intf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user