diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-03-17 05:59:24 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-25 16:42:22 -0400 |
commit | 29bb7013a53d8fc43f79f39d22a15ba8d3e77d9b (patch) | |
tree | 824374b426f7e3c2d4a5679b0176fa4add44f996 /drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | |
parent | d7d0f081c48951018133cac38c8c0796f37db727 (diff) |
rtlwifi: usb: defer rx processing to tasklet
Move processing of received packets to tasklet from hard-irq context.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/trx.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c b/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c index b6222eedb835..710f7904ecdf 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | |||
@@ -434,7 +434,7 @@ static void _rtl_rx_process(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
434 | (u32)hdr->addr1[2], (u32)hdr->addr1[3], | 434 | (u32)hdr->addr1[2], (u32)hdr->addr1[3], |
435 | (u32)hdr->addr1[4], (u32)hdr->addr1[5]); | 435 | (u32)hdr->addr1[4], (u32)hdr->addr1[5]); |
436 | memcpy(IEEE80211_SKB_RXCB(skb), rx_status, sizeof(*rx_status)); | 436 | memcpy(IEEE80211_SKB_RXCB(skb), rx_status, sizeof(*rx_status)); |
437 | ieee80211_rx_irqsafe(hw, skb); | 437 | ieee80211_rx(hw, skb); |
438 | } | 438 | } |
439 | 439 | ||
440 | void rtl8192cu_rx_hdl(struct ieee80211_hw *hw, struct sk_buff * skb) | 440 | void rtl8192cu_rx_hdl(struct ieee80211_hw *hw, struct sk_buff * skb) |