diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-07-23 11:04:45 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-07-23 11:04:47 +0200 |
commit | 85f01c44a950be8518ce5a7d251b5bba219348cf (patch) | |
tree | 5b415838ce2606394aee5a37e61728a8290117ff /system.h | |
parent | 7f24a063475e1e2be4e0c516a5b62c3fae5ec542 (diff) | |
download | netifd-85f01c44a950be8518ce5a7d251b5bba219348cf.tar.gz |
bridge: check bridge port vlan membership on link-up events
When changing to a dfs channel, hostapd can bring down wlan interfaces and
reset their bridge membership. If that happens, the port loses its vlan
membership settings and needs to be reconfigured by netifd.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -207,6 +207,7 @@ int system_bridge_delbr(struct device *bridge); int system_bridge_addif(struct device *bridge, struct device *dev); int system_bridge_delif(struct device *bridge, struct device *dev); int system_bridge_vlan(const char *iface, uint16_t vid, bool add, unsigned int vflags); +int system_bridge_vlan_check(struct device *dev, char *ifname); int system_macvlan_add(struct device *macvlan, struct device *dev, struct macvlan_config *cfg); int system_macvlan_del(struct device *macvlan); |