]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 22 Nov 2016 19:40:58 +0000 (11:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 20:53:50 +0000 (15:53 -0500)
commit76da8706d90d8641eeb9b8e579942ed80b6c0880
tree0a88d10da521f7677dc167e7b8efa2575ce2fa8b
parent867d1212bf3c53dc057f7bca72155048cc51d18c
net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change

In case the link change and EEE is enabled or disabled, always try to
re-negotiate this with the link partner.

Fixes: 450b05c15f9c ("net: dsa: bcm_sf2: add support for controlling EEE")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c