openwrtv3/package/mac80211/patches/310-ap_scan.patch
2012-10-03 19:13:20 +00:00

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