[PATCH] include/net/ieee80211.h must #include <linux/wireless.h>
authorAdrian Bunk <bunk@stusta.de>
Fri, 22 Jul 2005 21:39:12 +0000 (23:39 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 31 Jul 2005 04:44:10 +0000 (00:44 -0400)
commitb7721ff96fa15459c7c5de59323bedd61f1bcbd7
tree0be8c1e34afe958458757c23ecce9b104562160f
parenta670fcb43f01a67ef56176afc76e5d43d128b25c
[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>
include/net/ieee80211.h