]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl931x: Fix link status get not fetching correct status 19578/head
authorHarshal Gohel <hg@simonwunderlich.de>
Tue, 8 Apr 2025 10:46:15 +0000 (10:46 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Aug 2025 14:01:51 +0000 (16:01 +0200)
commit6473e3ed5eaa18de28fa5f7653e05079a22e0802
treeca74fba76c078c9eb90f8e080d241600de482a1b
parent445af8c038f46855a919e2feebcf473d8e2d32ec
realtek: rtl931x: Fix link status get not fetching correct status

Just like rtl930x, rtl931x also requires two reads to fetch current link
status.

While at it, rename the function to a proper naming scheme.

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Co-developed-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Co-developed-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19578
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h