diff options
author | 2025-01-15 14:43:35 +0000 | |
---|---|---|
committer | 2025-01-17 12:01:40 +0000 | |
commit | 34d5a86ff7bbe225fba3ad91f9b4dc85fb408e18 (patch) | |
tree | 32b9a66a65bad43e1c17bc9541152cdf8fd23667 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'net-6.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-34d5a86ff7bbe225fba3ad91f9b4dc85fb408e18.tar.xz wireguard-linux-34d5a86ff7bbe225fba3ad91f9b4dc85fb408e18.zip |
net: phy: realtek: clear 1000Base-T lpa if link is down
Only read 1000Base-T link partner advertisement if autonegotiation has
completed and otherwise 1000Base-T link partner advertisement bits.
This fixes bogus 1000Base-T link partner advertisement after link goes
down (eg. by disconnecting the wire).
Fixes: 5cb409b3960e ("net: phy: realtek: clear 1000Base-T link partner advertisement")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions