diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2022-04-04 21:25:20 +0900 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-12-15 20:54:03 +0100 |
commit | 69055a54121a95c4e0e9dd409d8b78d19743c221 (patch) | |
tree | ff85a723c4e2106f265f98d244895785c1fdc4bb /target/linux/realtek/files-5.15/drivers | |
parent | 109962d8bfa77abbe70d3774309c28689290a0f7 (diff) | |
download | upstream-69055a54121a95c4e0e9dd409d8b78d19743c221.tar.gz upstream-69055a54121a95c4e0e9dd409d8b78d19743c221.tar.bz2 upstream-69055a54121a95c4e0e9dd409d8b78d19743c221.zip |
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 <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/realtek/files-5.15/drivers')
-rw-r--r-- | target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |