Standardize on ARRAY_SIZE, stop defining and undefining N
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 28 Nov 2007 05:36:29 +0000 (05:36 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 28 Nov 2007 05:36:29 +0000 (05:36 +0000)
commit2f1668b9166f190ff38fb838a547b3d7d4721e7a
tree5cfa0a895beec0e2b14c4afcf5d1194054f09a47
parent212d62c469f9ee7424813c5276ae5b4872f8a3fb
Standardize on ARRAY_SIZE, stop defining and undefining N

ARRAY_SIZE is present in all kernel versions we support.  Use it instead
of other definitions.  Define ARRAY_SIZE in the userspace tools as well.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2988 0192ed92-7a03-0410-a25b-9323aeb14dbd
16 files changed:
ath/if_ath.c
ath/if_ath_pci.c
net80211/ieee80211.c
net80211/ieee80211_crypto.c
net80211/ieee80211_proto.c
net80211/ieee80211_scan_ap.c
net80211/ieee80211_scan_sta.c
net80211/ieee80211_wireless.c
regression/ccmp/test_ccmp.c
regression/wep/test_wep.c
tools/80211debug.c
tools/80211stats.c
tools/ath_info.c
tools/athdebug.c
tools/athstats.c
tools/wlanconfig.c