diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-07-13 10:39:09 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 14:24:59 -0400 |
commit | 262eb9b2237ecee047451a636e799ea1572b685a (patch) | |
tree | 162ce4b4f27edf7cdf45bb3e3574d840db2815e1 /drivers | |
parent | a5d5a914770a81a1f775be2ee35b9fa8fd19d381 (diff) | |
download | linux-262eb9b2237ecee047451a636e799ea1572b685a.tar.gz linux-262eb9b2237ecee047451a636e799ea1572b685a.tar.bz2 linux-262eb9b2237ecee047451a636e799ea1572b685a.zip |
cfg80211: split wext compatibility to separate header
A lot of drivers erroneously use wext constants
and don't notice since cfg80211.h includes them.
Make this more split up so drivers needing wext
compatibility from cfg80211 need to explicitly
include that from cfg80211-wext.h.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/wext.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 87813c33bdc2..4395977d5369 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c @@ -32,6 +32,7 @@ #include <linux/sched.h> #include <linux/slab.h> +#include <net/cfg80211-wext.h> #include "ipw2200.h" diff --git a/drivers/net/wireless/orinoco/wext.c b/drivers/net/wireless/orinoco/wext.c index bbb9beb206b1..33747e131a96 100644 --- a/drivers/net/wireless/orinoco/wext.c +++ b/drivers/net/wireless/orinoco/wext.c @@ -9,6 +9,7 @@ #include <linux/ieee80211.h> #include <net/iw_handler.h> #include <net/cfg80211.h> +#include <net/cfg80211-wext.h> #include "hermes.h" #include "hermes_rid.h" |