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)
commit763d750c38484cb1fbe389a5cf45b391b9eaa056
treefd09018747382beb9645a89a0f1b064ecec59ce2
parentcddaaa56375615c256eb6960d3092ddb8a7a9154
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