summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJose Ignacio Tornos Martinez <jtornosm@redhat.com>2024-06-20 15:34:31 +0200
committerDavid S. Miller <davem@davemloft.net>2024-06-24 10:15:09 +0100
commit058722ee350c0bdd664e467156feb2bf5d9cc271 (patch)
tree8736e070cb818437376f7af243b3451c23e265e4 /net
parent02ea312055da84e08e3e5bce2539c1ff11c8b5f2 (diff)
net: usb: ax88179_178a: improve link status logs
Avoid spurious link status logs that may ultimately be wrong; for example, if the link is set to down with the cable plugged, then the cable is unplugged and after this the link is set to up, the last new log that is appearing is incorrectly telling that the link is up. In order to avoid errors, show link status logs after link_reset processing, and in order to avoid spurious as much as possible, only show the link loss when some link status change is detected. cc: stable@vger.kernel.org Fixes: e2ca90c276e1 ("ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver") Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions