mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
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:
parent
109962d8bf
commit
69055a5412
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user