From 01368640327283999824cfb423c8e95d48233fd9 Mon Sep 17 00:00:00 2001 From: Yu Wang Date: Mon, 29 Jul 2019 14:59:48 +0800 Subject: [PATCH] P2P: Pass HE flag to GO negotiation result 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 --- wpa_supplicant/p2p_supplicant.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 2a8bcc93f..55b3b08ef 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -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;