summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-07-13 10:39:09 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-08 14:24:59 -0400
commit262eb9b2237ecee047451a636e799ea1572b685a (patch)
tree162ce4b4f27edf7cdf45bb3e3574d840db2815e1 /net
parenta5d5a914770a81a1f775be2ee35b9fa8fd19d381 (diff)
downloadop-kernel-dev-262eb9b2237ecee047451a636e799ea1572b685a.zip
op-kernel-dev-262eb9b2237ecee047451a636e799ea1572b685a.tar.gz
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 'net')
-rw-r--r--net/wireless/scan.c1
-rw-r--r--net/wireless/wext-compat.c1
-rw-r--r--net/wireless/wext-sme.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 2936cb8..b0f0039 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -12,6 +12,7 @@
#include <linux/etherdevice.h>
#include <net/arp.h>
#include <net/cfg80211.h>
+#include <net/cfg80211-wext.h>
#include <net/iw_handler.h>
#include "core.h"
#include "nl80211.h"
diff --git a/net/wireless/wext-compat.c b/net/wireless/wext-compat.c
index 0bf169b..355a63a 100644
--- a/net/wireless/wext-compat.c
+++ b/net/wireless/wext-compat.c
@@ -15,6 +15,7 @@
#include <linux/slab.h>
#include <net/iw_handler.h>
#include <net/cfg80211.h>
+#include <net/cfg80211-wext.h>
#include "wext-compat.h"
#include "core.h"
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c
index 6fffe62..494a12f 100644
--- a/net/wireless/wext-sme.c
+++ b/net/wireless/wext-sme.c
@@ -9,6 +9,7 @@
#include <linux/if_arp.h>
#include <linux/slab.h>
#include <net/cfg80211.h>
+#include <net/cfg80211-wext.h>
#include "wext-compat.h"
#include "nl80211.h"
OpenPOWER on IntegriCloud