aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorIlan Peer <[email protected]>2020-12-06 14:54:48 +0200
committerJohannes Berg <[email protected]>2020-12-11 13:20:05 +0100
commitbbf31e88df2f5da20ce613c340ce508d732046b3 (patch)
tree1692e04abd86162cef5d8af48116d0c66fe15b72 /tools/perf/scripts/python/intel-pt-events.py
parent2dedfe1dbdf27ac344584ed03c3876c85d2779fb (diff)
mac80211: Fix calculation of minimal channel width
When calculating the minimal channel width for channel context, the current operation Rx channel width of a station was used and not the overall channel width capability of the station, i.e., both for Tx and Rx. Fix ieee80211_get_sta_bw() to use the maximal channel width the station is capable. While at it make the function static. Signed-off-by: Ilan Peer <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20201206145305.4387040b99a0.I74bcf19238f75a5960c4098b10e355123d933281@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions