summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2021-02-24 14:29:34 +0300
committerFelix Fietkau <nbd@nbd.name>2021-04-12 01:01:22 +0300
commit57b8b57516c5108b0078051a31c68dc9dfcbf68f (patch)
tree5ad8356d7dac4de67463c6a01dfb7230bbed1d0b /include/linux/stacktrace.h
parentc996f0346e40e3b1ac2ebaf0681df898fb157f60 (diff)
downloadlinux-57b8b57516c5108b0078051a31c68dc9dfcbf68f.tar.xz
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 <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions