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
1 changed files with 3 additions and 0 deletions
|
@ -548,6 +548,9 @@ static struct sta_info * mesh_mpm_add_peer(struct wpa_supplicant *wpa_s,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Set WMM by default since Mesh STAs are QoS STAs */
|
||||||
|
sta->flags |= WLAN_STA_WMM;
|
||||||
|
|
||||||
/* initialize sta */
|
/* initialize sta */
|
||||||
if (copy_supp_rates(wpa_s, sta, elems)) {
|
if (copy_supp_rates(wpa_s, sta, elems)) {
|
||||||
ap_free_sta(data, sta);
|
ap_free_sta(data, sta);
|
||||||
|
|
Loading…
Reference in a new issue