aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2021-09-14 21:59:04 +0200
committerKalle Valo <kvalo@codeaurora.org>2021-09-21 18:02:17 +0300
commit54350dac4e6a966a816ea0152ad2fba30ca189d0 (patch)
tree1a0b6368b1960acdffd29c82895d48cd5230cc4c /tools/perf/scripts/python
parentmwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type (diff)
downloadlinux-54350dac4e6a966a816ea0152ad2fba30ca189d0.tar.gz
linux-54350dac4e6a966a816ea0152ad2fba30ca189d0.zip
mwifiex: Use helper function for counting interface types
Use a small helper function to increment and decrement the counter of the interface types we currently manage. This makes the code that actually changes and sets up the interface type a bit less messy and also helps avoiding mistakes in case someone increments/decrements a counter wrongly. Signed-off-by: Jonas Dreßler <verdre@v0yd.nl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210914195909.36035-5-verdre@v0yd.nl
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions