diff options
| author | Lorenzo Bianconi <[email protected]> | 2021-02-24 12:29:34 +0100 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2021-04-12 00:01:22 +0200 |
| commit | 57b8b57516c5108b0078051a31c68dc9dfcbf68f (patch) | |
| tree | 5ad8356d7dac4de67463c6a01dfb7230bbed1d0b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c996f0346e40e3b1ac2ebaf0681df898fb157f60 (diff) | |
mt76: check return value of mt76_txq_send_burst in mt76_txq_schedule_list
Since mt76_txq_send_burst routine can report a negative error code,
check the returned value before incrementing the number of transmitted
frames in mt76_txq_schedule_list routine.
Return -EBUSY directly if the device is in reset or in power management.
Fixes: 90fdc1717b186 ("mt76: use mac80211 txq scheduling")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions