From: Jouni Malinen Date: Sun, 26 May 2019 15:02:08 +0000 (+0300) Subject: VHT: Remove copying of VHT Operation element from (Re)Assoc Req X-Git-Tag: hostap_2_9~255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70776098dc5d36edfebb3de83b6c98f218ba1a4;p=thirdparty%2Fhostap.git 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 --- 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;