summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-06-04 08:41:34 +0200
committerFelix Fietkau <nbd@nbd.name>2021-06-04 08:41:36 +0200
commit7f199050f395d5295a3f665bcd2eb8cc755d08aa (patch)
tree6d11b708d2801fefbd946cfcada33a9ebcd938b6 /scripts
parentcb6ee9608e10029875389092140de65fa6a66714 (diff)
downloadnetifd-7f199050f395d5295a3f665bcd2eb8cc755d08aa.tar.gz
wireless: pass the real network ifname to the setup script
If the network ifname is a VLAN on top of a VLAN-filtering bridge, hostapd needs to know the VLAN ifname to communicate with other APs, if 802.11r is enabled. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/netifd-wireless.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index b920296..5527791 100644
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -314,6 +314,7 @@ for_each_interface() {
json_select "$_w_iface"
if [ -n "$_w_types" ]; then
json_get_var network_bridge bridge
+ json_get_var network_ifname bridge-ifname
json_get_var multicast_to_unicast multicast_to_unicast
json_select config
_wireless_set_brsnoop_isolation "$multicast_to_unicast"