diff options
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_mac.c')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_mac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index 3bd3c779fff3..54abdd0c0045 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c | |||
@@ -711,7 +711,8 @@ int zd_mac_rx(struct ieee80211_hw *hw, const u8 *buffer, unsigned int length) | |||
711 | 711 | ||
712 | memcpy(skb_put(skb, length), buffer, length); | 712 | memcpy(skb_put(skb, length), buffer, length); |
713 | 713 | ||
714 | ieee80211_rx_irqsafe(hw, skb, &stats); | 714 | memcpy(IEEE80211_SKB_RXCB(skb), &stats, sizeof(stats)); |
715 | ieee80211_rx_irqsafe(hw, skb); | ||
715 | return 0; | 716 | return 0; |
716 | } | 717 | } |
717 | 718 | ||