From: Peter Oh Date: Tue, 10 Nov 2015 03:20:29 +0000 (-0800) Subject: Set WMM flag to Mesh STA by default X-Git-Tag: hostap_2_6~1382 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a73c9842618361980b2d02c2c0edf0e4414d7c8e;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c index 86b2bcb09..0a0581551 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);