]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: Remove family check from port_get_stp_state() 21527/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 13 Jan 2026 12:55:38 +0000 (13:55 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 21 Jan 2026 21:54:46 +0000 (22:54 +0100)
commit84a6288a0849fa0ef56a12e7bf028f07c0c6884f
tree05ab4f99276fefc640dff16b52d1ad6a69420c5b
parent92121e6aa57de9a5c7f89ee39b99a6fc30e21182
realtek: dsa: Remove family check from port_get_stp_state()

The device specific stp_get() functions can return the state
of a given port individually. No need to disassemble the
device specific state table. Additionally change function
prefix.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21527
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/debugfs.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl83xx.h