From: Yu Wang Date: Mon, 29 Jul 2019 06:59:48 +0000 (+0800) Subject: P2P: Pass HE flag to GO negotiation result X-Git-Tag: hostap_2_9~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01368640327283999824cfb423c8e95d48233fd9;p=thirdparty%2Fhostap.git 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 --- 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;