summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorDoug Berger <opendmb@gmail.com>2021-06-29 17:14:19 -0700
committerDavid S. Miller <davem@davemloft.net>2021-07-01 11:45:46 -0700
commit5a3c680aa2c12c90c44af383fe6882a39875ab81 (patch)
tree242fdec06d1e1c32dd2474cefb44a78a28c2429e /net/sctp
parent0dbffbb5335a1e3aa6855e4ee317e25e669dd302 (diff)
net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
Setting the EXT_ENERGY_DET_MASK bit allows the port energy detection logic of the internal PHY to prevent the system from sleeping. Some internal PHYs will report that energy is detected when the network interface is closed which can prevent the system from going to sleep if WoL is enabled when the interface is brought down. Since the driver does not support waking the system on this logic, this commit clears the bit whenever the internal PHY is powered up and the other logic for manipulating the bit is removed since it serves no useful function. Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file") Signed-off-by: Doug Berger <opendmb@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions