tx: fix locking error pointed out by dnnn88

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-04-12 11:52:43 +02:00
parent dd828b7fc6
commit 9ecf04c4d7
+1 -1
View File
@@ -278,7 +278,7 @@ mt76_release_buffered_frames(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
mt76_queue_ps_skb(dev, sta, last_skb, true);
dev->queue_ops->kick(dev, hwq);
}
spin_lock_bh(&hwq->lock);
spin_unlock_bh(&hwq->lock);
}
EXPORT_SYMBOL_GPL(mt76_release_buffered_frames);