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 /device.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 'device.h')
-rw-r--r-- | device.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -266,6 +266,12 @@ enum bridge_vlan_flags { struct bridge_vlan_port { const char *ifname; uint16_t flags; + int8_t check; +}; + +struct bridge_vlan_hotplug_port { + struct list_head list; + struct bridge_vlan_port port; }; struct bridge_vlan { |