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 <yyuwang@codeaurora.org>
This commit is contained in:
Yu Wang 2019-07-29 14:59:48 +08:00 committed by Jouni Malinen
parent eb42db4a74
commit 0136864032
1 changed files with 2 additions and 0 deletions

View 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;