aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_mpm.c
diff options
context:
space:
mode:
authorPeter Oh <poh@qca.qualcomm.com>2015-11-10 03:20:29 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-19 09:37:17 (GMT)
commita73c9842618361980b2d02c2c0edf0e4414d7c8e (patch)
tree6b58f0f0666424c3827dc1a4c28bfc0056da17e1 /wpa_supplicant/mesh_mpm.c
parent9a8d9f7c6211fcf37ecd76d27eb5948350d6537b (diff)
downloadhostap-a73c9842618361980b2d02c2c0edf0e4414d7c8e.zip
hostap-a73c9842618361980b2d02c2c0edf0e4414d7c8e.tar.gz
hostap-a73c9842618361980b2d02c2c0edf0e4414d7c8e.tar.bz2
Set WMM flag to Mesh STA by default
Set WLAN_STA_WMM flag to Mesh STA by default since Mesh STAs are QoS STAs. Mesh STA's HT capabilities won't be parsed properly without the flag. Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/mesh_mpm.c')
-rw-r--r--wpa_supplicant/mesh_mpm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c
index 86b2bcb..0a05815 100644
--- a/wpa_supplicant/mesh_mpm.c
+++ b/wpa_supplicant/mesh_mpm.c
@@ -548,6 +548,9 @@ static struct sta_info * mesh_mpm_add_peer(struct wpa_supplicant *wpa_s,
return NULL;
}
+ /* Set WMM by default since Mesh STAs are QoS STAs */
+ sta->flags |= WLAN_STA_WMM;
+
/* initialize sta */
if (copy_supp_rates(wpa_s, sta, elems)) {
ap_free_sta(data, sta);