developer | 6a1998b | 2022-12-08 18:09:45 +0800 | [diff] [blame] | 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 |
developer | 43a264f | 2024-03-26 14:09:54 +0800 | [diff] [blame^] | 11 | @@ -2847,6 +2847,8 @@ static int ieee80211_scan(struct wiphy * |
developer | 6a1998b | 2022-12-08 18:09:45 +0800 | [diff] [blame] | 12 | */ |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 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. |