diff options
author | Maya Erez <[email protected]> | 2016-01-17 12:39:09 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-01-26 16:47:38 +0200 |
commit | b729aaf066b013458e95cd6c69a5e371eb9ce355 (patch) | |
tree | 6420743582d413b9c285173b9c7aa1ad28e1d4d3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 640751ac30b2ddfbe06ad712aa7d57a8d89a7eef (diff) |
wil6210: find TX vring only if vring_tx_data is enabled
In TX vring allocation, vring_tx->va is allocated before WMI command to
configure the vring is sent to the device. As the WMI command can take
time to complete, it can lead to scenarios where vring_tx->va is not NULL
but vring is still not enabled.
This patch adds a check that vring_tx_data is enabled before returning
a valid TX vring.
Signed-off-by: Maya Erez <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions