aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/310-ap_scan.patch
diff options
context:
space:
mode:
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;