]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
VHT: Remove copying of VHT Operation element from (Re)Assoc Req
authorJouni Malinen <j@w1.fi>
Sun, 26 May 2019 15:02:08 +0000 (18:02 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 May 2019 15:03:40 +0000 (18:03 +0300)
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 <j@w1.fi>
src/ap/ieee802_11.c

index a759f7f27be5cbc46159629f58acc543a7692dc2..890da7aa915da4850d0261d5e91ecb6c05801a32 100644 (file)
@@ -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;