diff options
| author | Zhao Li <enderaoelyther@gmail.com> | 2026-06-12 21:37:18 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-07-06 14:11:10 +0200 |
| commit | 57c05ce14fea03df01288fe1250f49197e161710 (patch) | |
| tree | a0ed9c0e446270c0290b34fe2e09288221607c95 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 69ef6a7ec277f16d216be8da2b3cbe872786c999 (diff) | |
wifi: cfg80211: reject empty PMSR peer lists
A PMSR request with an empty peers array is not a useful request and
weakens the cfg80211-to-driver contract by allowing start_pmsr() with
no target peer.
Reject empty peer lists before allocating the request object or calling
into the driver.
Fixes: 9bb7e0f24e7e7 ("cfg80211: add peer measurement with FTM initiator API")
Assisted-by: Codex:gpt-5.5
Assisted-by: Claude:claude-opus-4.8
Signed-off-by: Zhao Li <enderaoelyther@gmail.com>
Link: https://patch.msgid.link/20260612133717.93783-2-enderaoelyther@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
