summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek
diff options
context:
space:
mode:
authorJakub Kicinski <kubakici@wp.pl>2015-07-31 15:04:47 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-08-10 22:19:32 +0300
commitd9517c0a5d7468a7ea63086057604fcb0fff480e (patch)
treefa5d7d63a51b4943b1480e941ce3707278d1ef1c /drivers/net/wireless/mediatek
parentbed429e1ae8b7ee207e01f3aa60dcc0d06a8ed4d (diff)
downloadlinux-d9517c0a5d7468a7ea63086057604fcb0fff480e.tar.gz
linux-d9517c0a5d7468a7ea63086057604fcb0fff480e.tar.bz2
linux-d9517c0a5d7468a7ea63086057604fcb0fff480e.zip
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 <kubakici@wp.pl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek')
-rw-r--r--drivers/net/wireless/mediatek/mt7601u/dma.c2
1 files changed, 1 insertions, 1 deletions
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)