aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorErik Stromdahl <[email protected]>2018-05-06 15:25:00 +0200
committerKalle Valo <[email protected]>2018-05-12 12:03:08 +0300
commite3148cc5fecf60dcbd07e5c9cae987976d25cb17 (patch)
treeed0f7884929fe2a73bc81f1001d00a2d485c626a /tools/perf/scripts/python/mem-phys-addr.py
parent469bd5eab6224c966253e62c50af1084a7cdad64 (diff)
ath10k: fix return value check in wake_tx_q op
ath10k_mac_tx_push_txq returns either a postive integer (length) on success or a negative error code on error. The "if (ret) break;" statement will thus always break out of the loop immediately after ath10k_mac_tx_push_txq has returned (making the loop pointless). A side effect of this fix is that we will iterate the queue until ath10k_mac_tx_push_txq returns -ENOENT. This will make sure the queue is not added back to ar->txqs when it is empty. This could potentially improve performance somewhat (I have seen a small improvement with SDIO devices). Signed-off-by: Erik Stromdahl <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions