$ht variable is not passed. $htmode is. With this, wpa_supplicant-phy0.conf contains htmode line if htmode is set in config.
Signed-off-by: Cezary Jackiewicz <[email protected]> --- diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index d625709..436eee3 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -595,8 +595,7 @@ wpa_supplicant_add_network() { append network_data "mcast_rate=$mc_rate" "$N$T" } - 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={ -- Pozdrawiam, Cezary Jackiewicz _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
