Messages in this thread Patch in this message | | | Subject | [PATCH 4/8] p80211netdev.c correctly enable wext handlers | From | Richard Kennedy <> | Date | Mon, 03 Nov 2008 11:18:23 +0000 |
| |
correctly enable wext handlers CONFIG_NET_WIRELESS does not exist so wext_handlers did not get defined.
Signed-off-by: Richard Kennedy <richard@rsk.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
| |