[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1225711103.3113.22.camel@castor.localdomain>
Date: Mon, 03 Nov 2008 11:18:23 +0000
From: Richard Kennedy <richard@....demon.co.uk>
To: gregkh <gregkh@...e.de>
Cc: lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH 4/8] p80211netdev.c correctly enable wext handlers
correctly enable wext handlers
CONFIG_NET_WIRELESS does not exist so wext_handlers did not get
defined.
Signed-off-by: Richard Kennedy <richard@....demon.co.uk>
---
drivers/staging/wlan-ng/p80211netdev.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c
index cc9cd4c..17b9321 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -864,12 +864,10 @@ int wlan_setup(wlandevice_t *wlandev)
dev->open = p80211knetdev_open;
dev->stop = p80211knetdev_stop;
-#ifdef CONFIG_NET_WIRELESS
#if (WIRELESS_EXT < 21)
dev->get_wireless_stats = p80211wext_get_wireless_stats;
#endif
dev->wireless_handlers = &p80211wext_handler_def;
-#endif
netif_stop_queue(dev);
#ifdef HAVE_CHANGE_MTU
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists