From: INAGAKI Hiroshi Date: Mon, 4 Apr 2022 12:25:20 +0000 (+0900) Subject: realtek: enable needs_standalone_vlan_filtering on DSA driver in 5.15 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=69055a54121a95c4e0e9dd409d8b78d19743c221;p=openwrt%2Fstaging%2Fblocktrron.git realtek: enable needs_standalone_vlan_filtering on DSA driver in 5.15 To configure VLAN 0, enable needs_standalone_vlan_filtering option of dsa_switch struct. Signed-off-by: INAGAKI Hiroshi --- diff --git a/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c b/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c index e86ff9ccdf..b5afed0ef5 100644 --- a/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c +++ b/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c @@ -1466,6 +1466,7 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev) priv->ds->dev = dev; priv->ds->priv = priv; priv->ds->ops = &rtl83xx_switch_ops; + priv->ds->needs_standalone_vlan_filtering = true; priv->dev = dev; mutex_init(&priv->reg_mutex);