mt7601u: use correct ieee80211_rx variant

This change “mt7601u: use correct ieee80211_rx variant” in Linux kernel is authored by Jakub Kicinski <kubakici [at]> on Fri Jul 31 15:04:47 2015 +0200.

mt7601u: use correct ieee80211_rx variant

Rx is run inside a tasklet so ieee80211_rx() should be used
instead of ieee80211_rx_ni().

Signed-off-by: Jakub Kicinski <>
Signed-off-by: Kalle Valo <>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit d9517c0.

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/net/wireless/mediatek/mt7601u/dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt7601u/dma.c b/drivers/net/wireless/mediatek/mt7601u/dma.c
index 7217da4..fb183e3 100644
--- a/drivers/net/wireless/mediatek/mt7601u/dma.c
+++ b/drivers/net/wireless/mediatek/mt7601u/dma.c
@@ -112,7 +112,7 @@ static void mt7601u_rx_process_seg(struct mt7601u_dev *dev, u8 *data,
 	if (!skb)
-	ieee80211_rx_ni(dev->hw, skb);
+	ieee80211_rx(dev->hw, skb);
 static u16 mt7601u_rx_next_seg_len(u8 *data, u32 data_len)

The commit for this change in Linux stable tree is d9517c0 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *