mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
11
package/mac80211/patches/310-ap_scan.patch
Normal file
11
package/mac80211/patches/310-ap_scan.patch
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user