kernel_samsung_a53x/drivers/net/usb
Jose Ignacio Tornos Martinez fa4e7b3c50 net: usb: ax88179_178a: improve link status logs
commit 058722ee350c0bdd664e467156feb2bf5d9cc271 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 14:19:33 +01:00
..
aqc111.c usb: aqc111: stop lying about skb->truesize 2024-11-19 12:26:56 +01:00
aqc111.h
asix.h
asix_common.c
asix_devices.c
ax88172a.c asix: Add check for usbnet_get_endpoints 2024-11-18 12:12:07 +01:00
ax88179_178a.c net: usb: ax88179_178a: improve link status logs 2024-11-19 14:19:33 +01:00
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c
cdc_mbim.c
cdc_ncm.c
cdc_subset.c
ch9200.c
cx82310_eth.c
dm9601.c net: usb: dm9601: fix wrong return value in dm9601_mdio_read 2024-11-18 23:18:28 +01:00
gl620a.c
hso.c
huawei_cdc_ncm.c
int51x1.c
ipheth.c
kalmia.c
kaweth.c
Kconfig
lan78xx.c net: lan78xx: fix runtime PM count underflow on link stop 2024-11-18 23:19:34 +01:00
lan78xx.h
lg-vl600.c
Makefile
mcs7830.c
net1080.c
pegasus.c
pegasus.h
plusb.c
qmi_wwan.c net: usb: qmi_wwan: add Telit FN920C04 compositions 2024-11-19 12:26:51 +01:00
r8152.c
rndis_host.c
rtl8150.c net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings 2024-11-19 14:19:09 +01:00
sierra_net.c
smsc75xx.c
smsc75xx.h
smsc95xx.c net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM 2024-11-19 12:27:10 +01:00
smsc95xx.h
sr9700.c net: usb: sr9700: stop lying about skb->truesize 2024-11-19 12:26:56 +01:00
sr9700.h
sr9800.c sr9800: Add check for usbnet_get_endpoints 2024-11-19 08:44:48 +01:00
sr9800.h
usbnet.c
zaurus.c