mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move mt76_mcu_rx_event in mt76-core
Move mt76_mcu_rx_event i mt76-core module and remove duplicated code. mt76_mcu_rx_event will be reused adding support for mt7603 driver Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
4637f95417
commit
1763cb0d38
+1
-2
@@ -51,8 +51,7 @@ void mt76x02_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q,
|
||||
|
||||
if (q == MT_RXQ_MCU) {
|
||||
/* this is used just by mmio code */
|
||||
skb_queue_tail(&mdev->mmio.mcu.res_q, skb);
|
||||
wake_up(&mdev->mmio.mcu.wait);
|
||||
mt76_mcu_rx_event(&dev->mt76, skb);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user