commit | c0b26cf5c20be9c4f1b6c39b2483f742fc3cbf0c | [log] [tgz] |
---|---|---|
author | Sunil Ravi <sunilravi@google.com> | Fri Jun 28 17:34:56 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Jun 30 22:22:48 2024 +0000 |
tree | d12cfdf9d9d0384e4efd8249cb36c5d851743823 | |
parent | 642da9dd9bd3b557553251a213dda6c1b8a53fad [diff] [blame] |
Revert "[wpa_supplicant] cumilative patch from commit 3a5d1a7e6" Revert submission 26533062-Supplicant_merge_June24 Reason for revert: https://b.corp.google.com/issues/349780869 Reverted changes: /q/submissionid:26533062-Supplicant_merge_June24 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:eb83e2a5c5a7873beda5b25580232d1392c42bb2) Merged-In: I4a7a5b8ccb6b4822353bacc29649587cd5a3cb80 Change-Id: I4a7a5b8ccb6b4822353bacc29649587cd5a3cb80
diff --git a/src/ap/preauth_auth.c b/src/ap/preauth_auth.c index cb225c6..3284a10 100644 --- a/src/ap/preauth_auth.c +++ b/src/ap/preauth_auth.c
@@ -58,7 +58,7 @@ ethhdr = (struct l2_ethhdr *) buf; hdr = (struct ieee802_1x_hdr *) (ethhdr + 1); - if (!ether_addr_equal(ethhdr->h_dest, hapd->own_addr)) { + if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { wpa_printf(MSG_DEBUG, "RSN: pre-auth for foreign address " MACSTR, MAC2STR(ethhdr->h_dest)); return;