diff options
| author | Du Cheng <[email protected]> | 2021-05-10 12:16:49 +0800 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2021-05-31 21:39:10 +0200 |
| commit | e298aa358f0ca658406d524b6639fe389cb6e11e (patch) | |
| tree | b2e85597f417c85427254241077919472b53bf17 /tools/perf/scripts/python/bin | |
| parent | b90f51e8e1f5014c01c82a7bf4c611643d0a8bcb (diff) | |
mac80211: fix skb length check in ieee80211_scan_rx()
Replace hard-coded compile-time constants for header length check
with dynamic determination based on the frame type. Otherwise, we
hit a validation WARN_ON in cfg80211 later.
Fixes: cd418ba63f0c ("mac80211: convert S1G beacon to scan results")
Reported-by: [email protected]
Signed-off-by: Du Cheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[style fixes, reword commit message]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions