From: Jakub Kicinski Date: Fri, 31 Jul 2015 13:04:47 +0000 (+0200) Subject: mt7601u: use correct ieee80211_rx variant X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9517c0a5d7468a7ea63086057604fcb0fff480e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/net/wireless/mediatek/mt7601u/dma.c b/drivers/net/wireless/mediatek/mt7601u/dma.c index 7217da4f1543..fb183e369d92 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) return; - ieee80211_rx_ni(dev->hw, skb); + ieee80211_rx(dev->hw, skb); } static u16 mt7601u_rx_next_seg_len(u8 *data, u32 data_len)