summaryrefslogtreecommitdiffstats
path: root/net/sched/act_csum.c
diff options
context:
space:
mode:
authorVoon Weifeng <weifeng.voon@intel.com>2020-09-23 10:56:14 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-24 03:08:06 +0200
commit7241c5a697479c7d0c5a96595822cdab750d41ae (patch)
tree83aee7049275699cb67398d4f2b0d4a4533174f9 /net/sched/act_csum.c
parentnet: lantiq: Add locking for TX DMA channel (diff)
downloadlinux-7241c5a697479c7d0c5a96595822cdab750d41ae.tar.xz
linux-7241c5a697479c7d0c5a96595822cdab750d41ae.zip
net: stmmac: removed enabling eee in EEE set callback
EEE should be only be enabled during stmmac_mac_link_up() when the link are up and being set up properly. set_eee should only do settings configuration and disabling the eee. Without this fix, turning on EEE using ethtool will return "Operation not supported". This is due to the driver is in a dead loop waiting for eee to be advertised in the for eee to be activated but the driver will only configure the EEE advertisement after the eee is activated. Ethtool should only return "Operation not supported" if there is no EEE capbility in the MAC controller. Fixes: 8a7493e58ad6 ("net: stmmac: Fix a race in EEE enable callback") Signed-off-by: Voon Weifeng <weifeng.voon@intel.com> Acked-by: Mark Gross <mgross@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_csum.c')
0 files changed, 0 insertions, 0 deletions