]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: do not inject packets if MT76_STATE_PM is set
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 30 Jul 2020 09:27:51 +0000 (11:27 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:12 +0000 (18:10 +0200)
commiteb5d05d9fb38b9e31b207ac0ee5b007f14145ec7
treefd09018747382beb9645a89a0f1b064ecec59ce2
parent6a2e35f736f9a28c6010de63e862fa82525d2915
mt76: do not inject packets if MT76_STATE_PM is set

Do not tx packets in mt76_txq_send_burst() or mt76_txq_schedule_list()
if the device is in runtime-pm

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/tx.c