[openwrt/openwrt] hostapd: fix civic location option

LEDE Commits lede-commits at lists.infradead.org
Wed May 26 03:05:23 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/937dd79e2a4457a316d67b3091f6da7d14a99168

commit 937dd79e2a4457a316d67b3091f6da7d14a99168
Author: John Crispin <john at phrozen.org>
AuthorDate: Tue Apr 6 13:24:43 2021 +0200

    hostapd: fix civic location option
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/network/services/hostapd/files/hostapd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 9e790f1e9d..8f977678fc 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -733,7 +733,7 @@ hostapd_set_bss_options() {
 			append bss_conf "ftm_responder=1" "$N"
 			[ "$stationary_ap" -eq "1" ] && append bss_conf "stationary_ap=1" "$N"
 			[ -n "$lci" ] && append bss_conf "lci=$lci" "$N"
-			[ -n "$civic" ] && append bss_conf "lci=$civic" "$N"
+			[ -n "$civic" ] && append bss_conf "civic=$civic" "$N"
 		}
 	fi
 



More information about the lede-commits mailing list