From d70776098dc5d36edfebb3de83b6c98f218ba1a4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 26 May 2019 18:02:08 +0300 Subject: [PATCH] VHT: Remove copying of VHT Operation element from (Re)Assoc Req This copying attempt was added incorrectly since that element is never actually present in (Re)Association Request frames. It is only valid to copy that element from the mesh peering frames. Signed-off-by: Jouni Malinen --- src/ap/ieee802_11.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index a759f7f27..890da7aa9 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -2846,10 +2846,6 @@ static u16 check_assoc_ies(struct hostapd_data *hapd, struct sta_info *sta, if (resp != WLAN_STATUS_SUCCESS) return resp; - resp = copy_sta_vht_oper(hapd, sta, elems.vht_operation); - if (resp != WLAN_STATUS_SUCCESS) - return resp; - resp = set_sta_vht_opmode(hapd, sta, elems.vht_opmode_notif); if (resp != WLAN_STATUS_SUCCESS) return resp;