mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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>
This commit is contained in:
parent
9a8d9f7c62
commit
a73c984261
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user