[openwrt/openwrt] hostapd: fix civic location option

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 23 09:44:26 PST 2021


nbd pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/e480a0986eee9615724a5cdc9313c5855cd7afd2

commit e480a0986eee9615724a5cdc9313c5855cd7afd2
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>
    (cherry-picked from commit 937dd79e2a4457a316d67b3091f6da7d14a99168)
---
 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 ce44065093..d4a7dd0a11 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -740,7 +740,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