aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-03-07 16:20:59 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-11 09:11:55 (GMT)
commitb07ff9cb04373ff14d75854c5ae9da319fc2e893 (patch)
tree42c108feff4287d887a91203a63f1575fd913832 /wpa_supplicant/config_file.c
parent2ff712fc1a3820ab25850d9acc7da5e20d71cc32 (diff)
downloadhostap-b07ff9cb04373ff14d75854c5ae9da319fc2e893.zip
hostap-b07ff9cb04373ff14d75854c5ae9da319fc2e893.tar.gz
hostap-b07ff9cb04373ff14d75854c5ae9da319fc2e893.tar.bz2
wpa_supplicant: Allow disabling HT in AP mode without HT overrides
Since VHT can be toggled explicitly, also expose being able to disable HT explicitly, without requiring HT overrides. Continue making it default to enabled though. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index e580861..72e0a55 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -793,6 +793,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
INT(peerkey);
INT(mixed_cell);
INT(vht);
+ INT_DEF(ht, 1);
INT(ht40);
INT(max_oper_chwidth);
INT(vht_center_freq1);