mac80211: push rx status into skb->cb
[deliverable/linux.git] / drivers / net / wireless / ath / ar9170 / main.c
index 9d38cf60a0db2bd8ee1197d99ea6854769aa7357..51753ed1b8ba9bf05a627b28e4215fd8953cdfcb 100644 (file)
@@ -917,8 +917,10 @@ static void ar9170_handle_mpdu(struct ar9170 *ar, u8 *buf, int len)
                ar9170_rx_phy_status(ar, phy, &status);
 
        skb = ar9170_rx_copy_data(buf, mpdu_len);
-       if (likely(skb))
-               ieee80211_rx_irqsafe(ar->hw, skb, &status);
+       if (likely(skb)) {
+               memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
+               ieee80211_rx_irqsafe(ar->hw, skb);
+       }
 }
 
 void ar9170_rx(struct ar9170 *ar, struct sk_buff *skb)
This page took 0.03849 seconds and 5 git commands to generate.