diff options
author | Lorenzo Santina <lorenzo.santina.dev@gmail.com> | 2017-09-09 16:40:57 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-09-10 08:30:32 +0200 |
commit | bd24d53ea2ac1c174838cbf21f511db8718175b7 (patch) | |
tree | c5002df87fbe5efce984d06109752d15ca6bbe37 /package/network/services/hostapd/files | |
parent | e2218ea14826db69619812c5a778fd53c9099e6f (diff) | |
download | upstream-bd24d53ea2ac1c174838cbf21f511db8718175b7.tar.gz upstream-bd24d53ea2ac1c174838cbf21f511db8718175b7.tar.bz2 upstream-bd24d53ea2ac1c174838cbf21f511db8718175b7.zip |
hostapd: fix iapp_interface option
ifname variable were not assigned due to syntax error
causing the hostapd config file to have an empty iapp_interface= option
Signed-off-by: Lorenzo Santina <lorenzo.santina.dev@gmail.com>
Diffstat (limited to 'package/network/services/hostapd/files')
-rw-r--r-- | package/network/services/hostapd/files/hostapd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 0030516ccd..e1ec799ec7 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -372,7 +372,7 @@ hostapd_set_bss_options() { [ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" [ -n "$iapp_interface" ] && { local ifname - network_get_device ifname "$iapp_interface" || ifname = "$iapp_interface" + network_get_device ifname "$iapp_interface" || ifname="$iapp_interface" append bss_conf "iapp_interface=$ifname" "$N" } |