aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-10-28 20:42:17 +0100
committerDavid Bauer <mail@david-bauer.net>2020-11-17 17:04:22 +0100
commit7463a0b5ee65bae85c2a9e1bfcc86b0727b5b0ee (patch)
tree7268f564b1d97c787087af9de6c3862b5584f346
parent01b83040d3a9f6f30199c2fe8f0ceb1bc05e76cf (diff)
downloadupstream-7463a0b5ee65bae85c2a9e1bfcc86b0727b5b0ee.tar.gz
upstream-7463a0b5ee65bae85c2a9e1bfcc86b0727b5b0ee.tar.bz2
upstream-7463a0b5ee65bae85c2a9e1bfcc86b0727b5b0ee.zip
hostapd: fix variable shadowing
Fixes commit 838b412cb527 ("hostapd: add interworking support") Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index cb7e1d7053..3dbb983170 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -842,10 +842,12 @@ hostapd_set_bss_options() {
json_for_each_item append_iw_anqp_elem iw_anqp_elem
json_for_each_item append_iw_nai_realm iw_nai_realm
+ iw_domain_name_conf=
json_for_each_item append_iw_domain_name iw_domain_name
[ -n "$iw_domain_name_conf" ] && \
append bss_conf "domain_name=$iw_domain_name_conf" "$N"
+ iw_anqp_3gpp_cell_net_conf=
json_for_each_item append_iw_anqp_3gpp_cell_net iw_anqp_3gpp_cell_net
[ -n "$iw_anqp_3gpp_cell_net_conf" ] && \
append bss_conf "anqp_3gpp_cell_net=$iw_anqp_3gpp_cell_net_conf" "$N"