hostapd/src/fst
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
..
fst.c FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst.h FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst_ctrl_aux.c FST: Get rid of gcc extensions in structure/array initialization 2016-01-15 18:40:21 +02:00
fst_ctrl_aux.h FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst_ctrl_defs.h FST: Testing support 2015-07-16 18:26:16 +03:00
fst_ctrl_iface.c FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst_ctrl_iface.h FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst_defs.h FST: Fix byte order of couple of fields on big endian hosts 2016-06-23 17:46:40 +03:00
fst_group.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
fst_group.h FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst_iface.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
fst_iface.h FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
fst_internal.h FST: Make fst_hw_mode_to_band() non-inline function 2015-07-26 18:45:14 +03:00
fst_session.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
fst_session.h FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00