]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Pass HE flag to GO negotiation result
authorYu Wang <yyuwang@codeaurora.org>
Mon, 29 Jul 2019 06:59:48 +0000 (14:59 +0800)
committerJouni Malinen <j@w1.fi>
Mon, 29 Jul 2019 08:48:09 +0000 (11:48 +0300)
In order to set up P2P connection with HE capability,
the 'he' flag should be passed to GO negotiation result.

Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
wpa_supplicant/p2p_supplicant.c

index 2a8bcc93f5c590151f4a2b1e785ef23f8195f4ee..55b3b08efe50b98c891916d25e56cf9e1b414325 100644 (file)
@@ -2268,6 +2268,8 @@ static void wpas_go_neg_completed(void *ctx, struct p2p_go_neg_results *res)
                res->ht40 = 1;
        if (wpa_s->p2p_go_vht)
                res->vht = 1;
+       if (wpa_s->p2p_go_he)
+               res->he = 1;
        res->max_oper_chwidth = wpa_s->p2p_go_max_oper_chwidth;
        res->vht_center_freq2 = wpa_s->p2p_go_vht_center_freq2;