projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesh: Remove HT IEs if HT is disabled
[mech_eap.git]
/
wpa_supplicant
/
wpa_supplicant.c
diff --git
a/wpa_supplicant/wpa_supplicant.c
b/wpa_supplicant/wpa_supplicant.c
index
6999bbb
..
7ed7efa
100644
(file)
--- a/
wpa_supplicant/wpa_supplicant.c
+++ b/
wpa_supplicant/wpa_supplicant.c
@@
-1873,6
+1873,13
@@
void ibss_mesh_setup_freq(struct wpa_supplicant *wpa_s,
if (!mode)
return;
+#ifdef CONFIG_HT_OVERRIDES
+ if (ssid->disable_ht) {
+ freq->ht_enabled = 0;
+ return;
+ }
+#endif /* CONFIG_HT_OVERRIDES */
+
freq->ht_enabled = ht_supported(mode);
if (!freq->ht_enabled)
return;