aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorThomas Pedersen <[email protected]>2020-10-05 09:45:21 -0700
committerJohannes Berg <[email protected]>2020-10-08 10:33:54 +0200
commit8b783d104e7f40684333d2ec155fac39219beb2f (patch)
tree6f93689c0dd1ef485d8d68126dabd9be0787e6be /tools/perf/scripts/python/mem-phys-addr.py
parent9faebeb2d80065926dfbc09cb73b1bb7779a89cd (diff)
mac80211: handle lack of sband->bitrates in rates
Even though a driver or mac80211 shouldn't produce a legacy bitrate if sband->bitrates doesn't exist, don't crash if that is the case either. This fixes a kernel panic if station dump is run before last_rate can be updated with a data frame when sband->bitrates is missing (eg. in S1G bands). Signed-off-by: Thomas Pedersen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions