diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-06-17 10:39:26 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-06-17 10:39:28 +0200 |
commit | b0d0906883021baca9ef6e80ba0480ac3e2a4b7a (patch) | |
tree | fffc8f111c2f1c6eb2c54265b8b044569b961df2 /device.c | |
parent | f12b073c0cc3b1ee8d652a342505ae0b14856c18 (diff) | |
download | netifd-b0d0906883021baca9ef6e80ba0480ac3e2a4b7a.tar.gz |
bridge: fix setting pvid for updated vlans
defer adding back changed vlans until config processing is done
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -129,6 +129,9 @@ void device_vlan_update(bool done) vlist_update(&dev->vlans); } else { vlist_flush(&dev->vlans); + + if (dev->type->vlan_update) + dev->type->vlan_update(dev); } } } |