mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 02:24:54 +04:00
The rtl931x LED setup always selects serial mode. Boards whose port LEDs are wired for scan mode stay dark with it. The rtl930x driver already reads the interface mode from "realtek,led-mode"; read it on rtl931x too. Without the property the driver selects serial mode, as before. A value outside 1-3 is reported and also falls back to serial mode. No rtl931x DTS sets the property yet, so other boards are unchanged. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Kaloyan Naumov <knaumov@gmail.com> Link: https://github.com/openwrt/openwrt/pull/25576 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>