Introduced new helper function is_zero_ether_addr()
authorJouni Malinen <j@w1.fi>
Tue, 3 Jun 2008 15:08:48 +0000 (18:08 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 3 Jun 2008 15:08:48 +0000 (18:08 +0300)
commita8e16edc8638d18b972e2b053d17b54167ce5aa5
tree263bc8ddfe1b80a718d1f41ccc43d72e9569947b
parent957ed801e9261c051c2ca1bbc5a051ff38e11fde
Introduced new helper function is_zero_ether_addr()

Use this inline function to replace os_memcmp(addr,
"\x00\x00\x00\x00\x00\x00", ETH_ALEN) == 0.
12 files changed:
hostapd/config.c
src/drivers/driver_ndis.c
src/drivers/driver_wext.c
src/rsn_supp/preauth.c
src/rsn_supp/wpa.c
src/utils/common.h
wpa_supplicant/ctrl_iface.c
wpa_supplicant/events.c
wpa_supplicant/mlme.c
wpa_supplicant/todo.txt
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpas_glue.c