hostapd/src/rsn_supp
Jouni Malinen 2d83d224ff Use ether_addr_equal() to compare whether two MAC addresses are equal
This was done with spatch using the following semantic patch and minor
manual edits to clean up coding style and avoid compiler warnings in
driver_wext.c:

@@
expression a,b;
@@
-	os_memcmp(a, b, ETH_ALEN) == 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	os_memcmp(a, b, ETH_ALEN) != 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!os_memcmp(a, b, ETH_ALEN)
+	ether_addr_equal(a, b)

Signed-off-by: Jouni Malinen <j@w1.fi>
2024-01-13 23:47:21 +02:00
..
Makefile build: Make more library things common 2020-10-12 20:20:35 +03:00
pmksa_cache.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
pmksa_cache.h OKC with Suite B AKMPs in wpa_supplicant 2023-10-30 19:50:27 +02:00
preauth.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
preauth.h Fix wpa_supplicant build with IEEE8021X_EAPOL=y and CONFIG_NO_WPA=y 2016-01-15 20:04:41 +02:00
tdls.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
wpa.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
wpa.h SAE: Remove current PMKSA from driver after reauth threshold is passed 2023-10-12 18:31:08 +03:00
wpa_ft.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
wpa_i.h SAE: Remove current PMKSA from driver after reauth threshold is passed 2023-10-12 18:31:08 +03:00
wpa_ie.c Add support for AKM suite 00-0F-AC:23 2023-11-03 17:08:36 +02:00
wpa_ie.h Use a shared helper function for RSN supplicant capabilities 2020-03-23 11:47:31 +02:00