diff options
| author | Johannes Berg <[email protected]> | 2020-04-17 07:08:14 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-04-21 12:39:05 +0000 |
| commit | e6d419f943318e2b903e380dfd52a8dda6db3021 (patch) | |
| tree | 139ad753ea9ecfc3aa8b3331cd7fee6afbb674bf /tools/perf/scripts/python/check-perf-trace.py | |
| parent | iwlwifi: mvm: Do not declare support for ACK Enabled Aggregation (diff) | |
| download | kernel-e6d419f943318e2b903e380dfd52a8dda6db3021.tar.gz kernel-e6d419f943318e2b903e380dfd52a8dda6db3021.zip | |
iwlwifi: mvm: fix inactive TID removal return value usage
The function iwl_mvm_remove_inactive_tids() returns bool, so we
should just check "if (ret)", not "if (ret >= 0)" (which would
do nothing useful here). We obviously therefore cannot use the
return value of the function for the free_queue, we need to use
the queue (i) we're currently dealing with instead.
Cc: [email protected] # v5.4+
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20200417100405.9d862ed72535.I9e27ccc3ee3c8855fc13682592b571581925dfbd@changeid
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
