]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Set WMM flag to Mesh STA by default
authorPeter Oh <poh@qca.qualcomm.com>
Tue, 10 Nov 2015 03:20:29 +0000 (19:20 -0800)
committerJouni Malinen <j@w1.fi>
Thu, 19 Nov 2015 09:37:17 +0000 (11:37 +0200)
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>
wpa_supplicant/mesh_mpm.c

index 86b2bcb093777a4d4fcf3f06ecc71c855ff5b88e..0a058155166bbb366410b3186ea238cd2b5d38e0 100644 (file)
@@ -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);