aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2003-06-07 18:22:35 (GMT)
committerJouni Malinen <j@w1.fi>2003-06-07 18:22:35 (GMT)
commit86b4d7d15dc594312b5ed7cc39c303dbbe5dc934 (patch)
tree98cd6052b20359a3950f6e178bbe8a321aa036a6
parent0df8fa6fe9625157e8873d73493018046a9cae2e (diff)
downloadhostap-history-86b4d7d15dc594312b5ed7cc39c303dbbe5dc934.zip
hostap-history-86b4d7d15dc594312b5ed7cc39c303dbbe5dc934.tar.gz
hostap-history-86b4d7d15dc594312b5ed7cc39c303dbbe5dc934.tar.bz2
External pcmcia-cs package renames CONFIG_NET_RADIO to
CONFIG_NET_PCMCIA_RADIO, so use both of these to select whether linux/wireless.h should be included.
-rw-r--r--driver/modules/hostap.c4
-rw-r--r--driver/modules/hostap_cs.c4
-rw-r--r--driver/modules/hostap_pci.c4
-rw-r--r--driver/modules/hostap_plx.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/driver/modules/hostap.c b/driver/modules/hostap.c
index 0904a99..65b54ea 100644
--- a/driver/modules/hostap.c
+++ b/driver/modules/hostap.c
@@ -31,12 +31,12 @@
#include <linux/workqueue.h>
#endif
#include <linux/kmod.h>
-#ifdef CONFIG_NET_RADIO
+#if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO)
#include <linux/wireless.h>
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
#endif /* WIRELESS_EXT > 12 */
-#endif /* CONFIG_NET_RADIO */
+#endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */
#include <asm/uaccess.h>
diff --git a/driver/modules/hostap_cs.c b/driver/modules/hostap_cs.c
index 19dbf86..aecda1b 100644
--- a/driver/modules/hostap_cs.c
+++ b/driver/modules/hostap_cs.c
@@ -17,12 +17,12 @@
#else
#include <linux/workqueue.h>
#endif
-#ifdef CONFIG_NET_RADIO
+#if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO)
#include <linux/wireless.h>
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
#endif /* WIRELESS_EXT > 12 */
-#endif /* CONFIG_NET_RADIO */
+#endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */
#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
diff --git a/driver/modules/hostap_pci.c b/driver/modules/hostap_pci.c
index 2a628ff..bb6c32d 100644
--- a/driver/modules/hostap_pci.c
+++ b/driver/modules/hostap_pci.c
@@ -16,12 +16,12 @@
#else
#include <linux/workqueue.h>
#endif
-#ifdef CONFIG_NET_RADIO
+#if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO)
#include <linux/wireless.h>
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
#endif /* WIRELESS_EXT > 12 */
-#endif /* CONFIG_NET_RADIO */
+#endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */
#include <linux/ioport.h>
#include <linux/pci.h>
diff --git a/driver/modules/hostap_plx.c b/driver/modules/hostap_plx.c
index 09cce8f..adac5a0 100644
--- a/driver/modules/hostap_plx.c
+++ b/driver/modules/hostap_plx.c
@@ -19,12 +19,12 @@
#else
#include <linux/workqueue.h>
#endif
-#ifdef CONFIG_NET_RADIO
+#if defined(CONFIG_NET_RADIO) || defined(CONFIG_NET_PCMCIA_RADIO)
#include <linux/wireless.h>
#if WIRELESS_EXT > 12
#include <net/iw_handler.h>
#endif /* WIRELESS_EXT > 12 */
-#endif /* CONFIG_NET_RADIO */
+#endif /* CONFIG_NET_RADIO || CONFIG_NET_PCMCIA_RADIO */
#include <linux/ioport.h>
#include <linux/pci.h>