b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/net/mac80211/cfg.c |
2 | +++ b/net/mac80211/cfg.c | ||||
3 | @@ -2463,7 +2463,7 @@ static int ieee80211_scan(struct wiphy * | ||||
4 | * the frames sent while scanning on other channel will be | ||||
5 | * lost) | ||||
6 | */ | ||||
7 | - if (sdata->u.ap.beacon && | ||||
8 | + if (0 && sdata->u.ap.beacon && | ||||
9 | (!(wiphy->features & NL80211_FEATURE_AP_SCAN) || | ||||
10 | !(req->flags & NL80211_SCAN_FLAG_AP))) | ||||
11 | return -EOPNOTSUPP; |