summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-07-23 11:04:45 +0200
committerFelix Fietkau <nbd@nbd.name>2021-07-23 11:04:47 +0200
commit85f01c44a950be8518ce5a7d251b5bba219348cf (patch)
tree5b415838ce2606394aee5a37e61728a8290117ff /device.h
parent7f24a063475e1e2be4e0c516a5b62c3fae5ec542 (diff)
downloadnetifd-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/device.h b/device.h
index 1da6e3f..275deb9 100644
--- a/device.h
+++ b/device.h
@@ -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 {