hostapd: don't set htmode for wpa_supplicant
[openwrt/staging/lynxis.git] / package / network / services / hostapd / files / hostapd.sh
index 240097648ae57a67b78a9b4723e3031b28ac294c..f4f8b8e6cad490c3edec3a2166dfa914a4f0fcfe 100644 (file)
@@ -770,8 +770,6 @@ wpa_supplicant_add_network() {
        }
 
        local ht_str
-       [[ "$_w_mode" = adhoc ]] || ibss_htmode=
-       [ -n "$ibss_htmode" ] && append network_data "htmode=$ibss_htmode" "$N$T"
 
        cat >> "$_config" <<EOF
 network={