[OpenWrt-Devel] [PATCH] hostapd/netifd: fix missing htmode for wpa_supplicant
Arvid E. Picciani
aep at exys.org
Wed Sep 17 08:59:49 EDT 2014
the variable is called htmode, not ht
Signed-off-by: Arvid E. Picciani <aep at 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 at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list