summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/310-ap_scan.patch
blob: 67a9dcaba8808c060252c654daceca8d6bd28f4e (plain)
1
2
3
4
5
6
7
8
9
10
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;