From: Harshal Gohel Date: Mon, 14 Jul 2025 09:36:26 +0000 (+0200) Subject: realtek: rtl931x: Add missing rma_bpdu_fld_pmask X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F19569%2Fhead;p=thirdparty%2Fopenwrt.git 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 Signed-off-by: Sharadanand Karanjkar Link: https://github.com/openwrt/openwrt/pull/19569 Signed-off-by: Hauke Mehrtens --- 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 5a623cd31b5..7d625e01043 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,