Commit f49334a0 authored by David Kilroy's avatar David Kilroy Committed by Greg Kroah-Hartman

staging: wlags49_h2: Remove old WIRELESS_EXT support

Since the driver is now in-kernel remove support for building
against ancient WIRELESS_EXT versions.
Signed-off-by: default avatarDavid Kilroy <kilroyd@googlemail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e8df1674
...@@ -74,15 +74,8 @@ ...@@ -74,15 +74,8 @@
#include <pcmcia/ds.h> #include <pcmcia/ds.h>
#endif // BUS_PCMCIA #endif // BUS_PCMCIA
#ifdef HAS_WIRELESS_EXTENSIONS
#include <linux/wireless.h> #include <linux/wireless.h>
#if WIRELESS_EXT > 13
#include <net/iw_handler.h> #include <net/iw_handler.h>
#endif // WIRELESS_EXT > 13
#define USE_DBM
#define RETURN_CURRENT_NETWORKNAME
#define USE_FREQUENCY
#endif // HAS_WIRELESS_EXTENSIONS/
#include <linux/list.h> #include <linux/list.h>
......
...@@ -157,9 +157,6 @@ err: define bus type; ...@@ -157,9 +157,6 @@ err: define bus type;
* There doesn't seem to be a difference for PCMCIA and PCI anymore, at least * There doesn't seem to be a difference for PCMCIA and PCI anymore, at least
* for PCMCIA the same defines are needed now as previously only used for PCI * for PCMCIA the same defines are needed now as previously only used for PCI
*/ */
#if USE_WEXT
#define HAS_WIRELESS_EXTENSIONS
#endif // USE_WEXT
#define NEW_MULTICAST #define NEW_MULTICAST
#define ALLOC_SKB(len) dev_alloc_skb(len+2) #define ALLOC_SKB(len) dev_alloc_skb(len+2)
......
This diff is collapsed.
...@@ -62,9 +62,6 @@ ...@@ -62,9 +62,6 @@
#define __WL_WEXT_H__ #define __WL_WEXT_H__
#ifdef WIRELESS_EXT
/******************************************************************************* /*******************************************************************************
* function protoypes * function protoypes
******************************************************************************/ ******************************************************************************/
...@@ -88,9 +85,4 @@ void wl_wext_event_assoc_ie( struct net_device *dev ); ...@@ -88,9 +85,4 @@ void wl_wext_event_assoc_ie( struct net_device *dev );
extern const struct iw_handler_def wl_iw_handler_def; extern const struct iw_handler_def wl_iw_handler_def;
#else
#error WIRELESS_EXT
#endif // WIRELESS_EXT
#endif // __WL_WEXT_H__ #endif // __WL_WEXT_H__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment