aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/310-ap_scan.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-03 19:13:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-03 19:13:20 +0000
commitb4207dd744b051e025d0b442c1b422265641a730 (patch)
treeb0ba54a34911555309332e99682ed63974aeeb37 /package/mac80211/patches/310-ap_scan.patch
parent20a164b240529768447ecce77847cf26226c9e5e (diff)
downloadupstream-b4207dd744b051e025d0b442c1b422265641a730.tar.gz
upstream-b4207dd744b051e025d0b442c1b422265641a730.tar.bz2
upstream-b4207dd744b051e025d0b442c1b422265641a730.zip
mac80211: allow scans in access point mode (for site survey)
SVN-Revision: 33613
Diffstat (limited to 'package/mac80211/patches/310-ap_scan.patch')
-rw-r--r--package/mac80211/patches/310-ap_scan.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/310-ap_scan.patch b/package/mac80211/patches/310-ap_scan.patch
new file mode 100644
index 0000000000..67a9dcaba8
--- /dev/null
+++ b/package/mac80211/patches/310-ap_scan.patch
@@ -0,0 +1,11 @@
+--- a/net/mac80211/cfg.c
++++ b/net/mac80211/cfg.c
+@@ -1796,8 +1796,6 @@ static int ieee80211_scan(struct wiphy *
+ * beaconing hasn't been configured yet
+ */
+ case NL80211_IFTYPE_AP:
+- if (sdata->u.ap.beacon)
+- return -EOPNOTSUPP;
+ break;
+ default:
+ return -EOPNOTSUPP;