From: David Bauer Date: Wed, 28 Oct 2020 19:42:17 +0000 (+0100) Subject: hostapd: fix variable shadowing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7463a0b5ee65bae85c2a9e1bfcc86b0727b5b0ee;p=openwrt%2Fstaging%2Fthess.git hostapd: fix variable shadowing Fixes commit 838b412cb527 ("hostapd: add interworking support") Signed-off-by: David Bauer --- 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"