mt7915: fix minor issues in the token queue blocking change

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2020-11-22 12:30:32 +01:00
parent 066cc441eb
commit 93c806a34e
+2 -2
View File
@@ -930,7 +930,7 @@ mt7915_set_tx_blocked(struct mt7915_dev *dev, bool blocked)
q->blocked = blocked;
if (mphy2) {
q2 = mphy->q_tx[0];
q2 = mphy2->q_tx[0];
q2->blocked = blocked;
}
@@ -1109,7 +1109,7 @@ void mt7915_mac_tx_free(struct mt7915_dev *dev, struct sk_buff *skb)
LIST_HEAD(free_list);
struct sk_buff *tmp;
u8 i, count;
bool wake = true;
bool wake = false;
/* clean DMA queues and unmap buffers first */
mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[MT_TXQ_PSD], false);