diff options
| author | Rafał Miłecki <[email protected]> | 2016-06-07 21:10:18 +0200 | 
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-06-29 18:41:34 +0300 | 
| commit | f568adac7d1a50a7412a902ebc831730a9b80bf9 (patch) | |
| tree | a46cd7b0244969632dad6944cdeb6301b9d11907 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 742fb20fd4c75bd08733b0ea232c7e0fa67a6f87 (diff) | |
brcmfmac: slightly simplify building interface combinations
This change reorders some operations in brcmf_setup_ifmodes in hope to
make it simpler:
1) It allocates arrays right before filling them. This way it's easier
   to follow requested array length as it's immediately followed by
   code filling it. It's easier to check e.g. why we need 4 entries for
   P2P. Other than that it deduplicates some checks (e.g. for P2P).
2) It reorders code to first prepare limits and then define a new combo.
   Previously this was mixed (e.g. we were setting num of channels
   before preparing limits).
3) It modifies mbss code to use i variable just like other combos do.
Signed-off-by: Rafał Miłecki <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions