]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/dfs.c
Use ARRAY_SIZE() macro
authorJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 14:00:57 +0000 (17:00 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 14:49:05 +0000 (17:49 +0300)
commite7ecab4a3b8bc5696ee6d9779bc9f9a1f8b4b6ed
tree85908522f34532000904ebcc47c331e7f0dfd942
parent39044a703348e50d9d35053baf1b9ba3f53efdbf
Use ARRAY_SIZE() macro

Replace the common sizeof(a)/sizeof(a[0]) constructions with a more
readable version.

Signed-hostap: Jouni Malinen <j@w1.fi>
22 files changed:
src/ap/acs.c
src/ap/dfs.c
src/ap/hw_features.c
src/crypto/dh_groups.c
src/drivers/driver_madwifi.c
src/drivers/driver_nl80211.c
src/eap_common/ikev2_common.c
src/radius/radius.c
src/tls/tlsv1_common.c
src/utils/os_unix.c
tests/test-aes.c
tests/test-md4.c
tests/test-md5.c
tests/test-milenage.c
tests/test-rc4.c
tests/test-sha1.c
tests/test-sha256.c
wlantest/wlantest_cli.c
wpa_supplicant/config.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_old_handlers.c
wpa_supplicant/wpa_cli.c