pistachio: remove 5.15 support
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / subsys / 210-ap_scan.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Wed, 3 Oct 2012 00:00:00 +0200
3 Subject: [PATCH] mac80211: allow scans in access point mode (for site survey)
4
5 ---
6 net/mac80211/cfg.c | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 --- a/net/mac80211/cfg.c
10 +++ b/net/mac80211/cfg.c
11 @@ -2847,6 +2847,8 @@ static int ieee80211_scan(struct wiphy *
12 */
13 fallthrough;
14 case NL80211_IFTYPE_AP:
15 + /* skip check */
16 + break;
17 /*
18 * If the scan has been forced (and the driver supports
19 * forcing), don't care about being beaconing already.