hostapd: fix civic location option
authorJohn Crispin <john@phrozen.org>
Tue, 6 Apr 2021 11:24:43 +0000 (13:24 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 23 Nov 2021 17:30:04 +0000 (18:30 +0100)
Signed-off-by: John Crispin <john@phrozen.org>
(cherry-picked from commit 937dd79e2a4457a316d67b3091f6da7d14a99168)

package/network/services/hostapd/files/hostapd.sh

index ce4406509350dddb9a739b6393ee110ad8221cff..d4a7dd0a11bc0da2cc261517483ca0659c7aea0a 100644 (file)
@@ -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