diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-07-22 17:39:12 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-31 00:44:10 -0400 |
commit | b7721ff96fa15459c7c5de59323bedd61f1bcbd7 (patch) | |
tree | 0be8c1e34afe958458757c23ecce9b104562160f /include/net/ieee80211.h | |
parent | a670fcb43f01a67ef56176afc76e5d43d128b25c (diff) |
[PATCH] include/net/ieee80211.h must #include <linux/wireless.h>
-Wundef found an (although perhaps harmless) bug:
<-- snip -->
...
CC net/ieee80211/ieee80211_crypt.o
In file included from net/ieee80211/ieee80211_crypt.c:21:
include/net/ieee80211.h:26:5: warning: "WIRELESS_EXT" is not defined
CC net/ieee80211/ieee80211_crypt_wep.o
In file included from net/ieee80211/ieee80211_crypt_wep.c:20:
include/net/ieee80211.h:26:5: warning: "WIRELESS_EXT" is not defined
CC net/ieee80211/ieee80211_crypt_ccmp.o
CC net/ieee80211/ieee80211_crypt_tkip.o
In file included from net/ieee80211/ieee80211_crypt_tkip.c:23:
include/net/ieee80211.h:26:5: warning: "WIRELESS_EXT" is not defined
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/net/ieee80211.h')
-rw-r--r-- | include/net/ieee80211.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 065b702df563..1cf7ca0b6182 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #define IEEE80211_H | 22 | #define IEEE80211_H |
23 | #include <linux/if_ether.h> /* ETH_ALEN */ | 23 | #include <linux/if_ether.h> /* ETH_ALEN */ |
24 | #include <linux/kernel.h> /* ARRAY_SIZE */ | 24 | #include <linux/kernel.h> /* ARRAY_SIZE */ |
25 | #include <linux/wireless.h> | ||
25 | 26 | ||
26 | #if WIRELESS_EXT < 17 | 27 | #if WIRELESS_EXT < 17 |
27 | #define IW_QUAL_QUAL_INVALID 0x10 | 28 | #define IW_QUAL_QUAL_INVALID 0x10 |