diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-03 19:13:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-03 19:13:20 +0000 |
commit | bb1c19e782a88cd54d938f73ebd6006cea111631 (patch) | |
tree | 589445ea560a3a973e43f144521006e4e3a50c24 /package/mac80211/patches/310-ap_scan.patch | |
parent | 028bced8d726137e67e55fbd315bb5c12d5445d5 (diff) |
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
Diffstat (limited to 'package/mac80211/patches/310-ap_scan.patch')
-rw-r--r-- | package/mac80211/patches/310-ap_scan.patch | 11 |
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; |