summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshal Gohel2025-07-14 09:36:26 +0000
committerHauke Mehrtens2025-08-10 12:35:40 +0000
commita4b8d80050e5abe9970e413d169bf955d4679c0d (patch)
tree65961092c45b3d7f3991c3f923efd5ba8afc4c8f
parent743f2cd731b1186c86b7d9451d2ef6b81fcc4571 (diff)
downloadopenwrt-a4b8d80050e5abe9970e413d169bf955d4679c0d.tar.gz
realtek: rtl931x: Add missing rma_bpdu_fld_pmask
The .rma_bpdu_fld_pmask is not used anywhere in the code for RTL930x nor RTL931x. But the RTL930x was still initializing this member. To avoid problems in the future, simply initialize it also on RTL931x. Signed-off-by: Harshal Gohel <hg@simonwunderlich.de> Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/19569 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c
index 5a623cd31b..7d625e0104 100644
--- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c
+++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c
@@ -1696,6 +1696,7 @@ const struct rtl838x_reg rtl931x_reg = {
.vlan_port_pvidmode_set = rtl931x_vlan_port_pvidmode_set,
.vlan_port_pvid_set = rtl931x_vlan_port_pvid_set,
.trk_mbr_ctr = rtldsa_931x_trk_mbr_ctr,
+ .rma_bpdu_fld_pmask = RTL931X_RMA_BPDU_FLD_PMSK,
.set_vlan_igr_filter = rtl931x_set_igr_filter,
.set_vlan_egr_filter = rtl931x_set_egr_filter,
.set_distribution_algorithm = rtl931x_set_distribution_algorithm,