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:
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue