diff options
| author | Slawomir Stepien <sst@poczta.fm> | 2026-09-10 10:04:18 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-14 14:47:34 +0200 |
| commit | a842cfc1d6d85b34ad73959460def4d4641e82e8 (patch) | |
| tree | 80a38a2159229b66f988fcbe6d054571846eec3f /tools/perf/scripts/python/stackcollapse.py | |
| parent | e3d1acb0276742f288094cd7a497745364876bb8 (diff) | |
| download | linux-a842cfc1d6d85b34ad73959460def4d4641e82e8.tar.gz linux-a842cfc1d6d85b34ad73959460def4d4641e82e8.zip | |
wifi: cfg80211: check if AP has been started or joined a mesh before adding new station
Adding a new station to AP makes only sense when the AP has been started
(nl80211_start_ap()) or joined a mesh (__cfg80211_join_mesh()).
Check if AP is up and beaconing on the link or joined the mesh, when
adding new station. Return error if this isn't the case.
Note that libertas devices need special handling since they do not
implement join_mesh() and the decision must be made on channel
definition.
Reported-by: syzbot+9bdc0c5998ab45b05030@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=9bdc0c5998ab45b05030
Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Link: https://patch.msgid.link/20260910080418.725741-3-sst@poczta.fm
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
