the variable is called htmode, not ht

Signed-off-by: Arvid E. Picciani <a...@exys.org>
---
 package/network/services/hostapd/files/netifd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index 7cdcb52..c914795 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -575,7 +575,7 @@ wpa_supplicant_add_network() {
        }

        local ht_str
-       [ -n "$ht" ] && append network_data "htmode=$ht" "$N$T"
+       [ -n "$htmode" ] && append network_data "htmode=$htmode" "$N$T"

        cat >> "$_config" <<EOF
 network={
--
2.1.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to