hostapd/src/pae
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
..
ieee802_1x_cp.c mka: Allow configuration of MACsec hardware offload 2023-02-21 19:26:47 +02:00
ieee802_1x_cp.h MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
ieee802_1x_kay.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
ieee802_1x_kay.h mka: Allow configuration of MACsec hardware offload 2023-02-21 19:26:47 +02:00
ieee802_1x_kay_i.h MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
ieee802_1x_key.c mka: Extend CAK/CKN-from-EAP-MSK API to pass in MSK length 2018-12-26 16:44:58 +02:00
ieee802_1x_key.h mka: Extend CAK/CKN-from-EAP-MSK API to pass in MSK length 2018-12-26 16:44:58 +02:00
ieee802_1x_secy_ops.c mka: Allow configuration of MACsec hardware offload 2023-02-21 19:26:47 +02:00
ieee802_1x_secy_ops.h mka: Allow configuration of MACsec hardware offload 2023-02-21 19:26:47 +02:00
Makefile MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00