diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 57813e72c808..41e33798adb5 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -449,7 +449,8 @@ void rt2x00lib_rxdone(struct rt2x00_dev *rt2x00dev, | |||
449 | * mac80211 will clean up the skb structure. | 449 | * mac80211 will clean up the skb structure. |
450 | */ | 450 | */ |
451 | rt2x00debug_dump_frame(rt2x00dev, DUMP_FRAME_RXDONE, entry->skb); | 451 | rt2x00debug_dump_frame(rt2x00dev, DUMP_FRAME_RXDONE, entry->skb); |
452 | ieee80211_rx_irqsafe(rt2x00dev->hw, entry->skb, rx_status); | 452 | memcpy(IEEE80211_SKB_RXCB(entry->skb), rx_status, sizeof(*rx_status)); |
453 | ieee80211_rx_irqsafe(rt2x00dev->hw, entry->skb); | ||
453 | 454 | ||
454 | /* | 455 | /* |
455 | * Replace the skb with the freshly allocated one. | 456 | * Replace the skb with the freshly allocated one. |