1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 12:38:58 +02:00
openwrt-xburst/package/mac80211/patches/310-ap_scan.patch
nbd bb1c19e782 mac80211: allow scans in access point mode (for site survey)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 19:13:20 +00:00

12 lines
284 B
Diff

--- 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;