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>
This commit is contained in:
INAGAKI Hiroshi 2022-04-04 21:25:20 +09:00 committed by Sander Vanheule
parent 109962d8bf
commit 69055a5412

View File

@ -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);