diff options
author | John W. Linville <linville@tuxdriver.com> | 2007-02-17 18:26:09 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-02-17 18:26:09 -0500 |
commit | b312362be6d9155b66f3a26d9159e0a680fbd6c5 (patch) | |
tree | 52ebaad6117abf806dab4e738d01b509839f7b12 /drivers/net/wireless/hostap | |
parent | bdcac1878c80b068d8e073c1691d4bd09ba9996d (diff) | |
parent | bb52a653eaef4aee877b2fa36de8699926f788bd (diff) |
Merge branch 'upstream' into upstream-jgarzik
Conflicts:
net/ieee80211/softmac/ieee80211softmac_module.c
net/ieee80211/softmac/ieee80211softmac_wx.c
Diffstat (limited to 'drivers/net/wireless/hostap')
-rw-r--r-- | drivers/net/wireless/hostap/hostap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap.h b/drivers/net/wireless/hostap/hostap.h index e89c890d16fd..ef37a75d550b 100644 --- a/drivers/net/wireless/hostap/hostap.h +++ b/drivers/net/wireless/hostap/hostap.h | |||
@@ -2,13 +2,14 @@ | |||
2 | #define HOSTAP_H | 2 | #define HOSTAP_H |
3 | 3 | ||
4 | #include <linux/ethtool.h> | 4 | #include <linux/ethtool.h> |
5 | #include <linux/kernel.h> | ||
5 | 6 | ||
6 | #include "hostap_wlan.h" | 7 | #include "hostap_wlan.h" |
7 | #include "hostap_ap.h" | 8 | #include "hostap_ap.h" |
8 | 9 | ||
9 | static const long freq_list[] = { 2412, 2417, 2422, 2427, 2432, 2437, 2442, | 10 | static const long freq_list[] = { 2412, 2417, 2422, 2427, 2432, 2437, 2442, |
10 | 2447, 2452, 2457, 2462, 2467, 2472, 2484 }; | 11 | 2447, 2452, 2457, 2462, 2467, 2472, 2484 }; |
11 | #define FREQ_COUNT (sizeof(freq_list) / sizeof(freq_list[0])) | 12 | #define FREQ_COUNT ARRAY_SIZE(freq_list) |
12 | 13 | ||
13 | /* hostap.c */ | 14 | /* hostap.c */ |
14 | 15 | ||