hostapd: backport build fix when OWE is activated
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch
index 1b84f7e86a98a3b5a5d31068f0f83c909d658d08..633ab586239fae56baaf7dc826d8da0b4ab135f0 100644 (file)
@@ -21,11 +21,9 @@ Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
  src/rsn_supp/wpa.c | 11 +++++++++++
  1 file changed, 11 insertions(+)
 
-diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c
-index 56f3af7..db94a49 100644
 --- a/src/rsn_supp/wpa.c
 +++ b/src/rsn_supp/wpa.c
-@@ -2215,6 +2215,17 @@ int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr,
+@@ -2208,6 +2208,17 @@ int wpa_sm_rx_eapol(struct wpa_sm *sm, c
  
        if ((sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) &&
            (key_info & WPA_KEY_INFO_ENCR_KEY_DATA) && mic_len) {
@@ -43,6 +41,3 @@ index 56f3af7..db94a49 100644
                if (wpa_supplicant_decrypt_key_data(sm, key, mic_len,
                                                    ver, key_data,
                                                    &key_data_len))
--- 
-2.7.4
-