]> 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)
commit6f7e5ea538c30de7950c45d837da1c84862b4711
treefd09018747382beb9645a89a0f1b064ecec59ce2
parent261cb45d9f5a3f956fc2008b8daa5c37f9f9a2ab
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