mac80211: push rx status into skb->cb
[deliverable/linux.git] / drivers / staging / stlc45xx / stlc45xx.c
index cfdaac9b747edbc15cc3c0c0746772815b6ddd9c..52744faedbff0a622fd22a3e93eb82f69b503083 100644 (file)
@@ -1429,7 +1429,8 @@ static int stlc45xx_rx_data(struct stlc45xx *stlc, struct sk_buff *skb)
        stlc45xx_debug(DEBUG_RX, "rx data 0x%p %d B", skb->data, skb->len);
        stlc45xx_dump(DEBUG_RX_CONTENT, skb->data, skb->len);
 
-       ieee80211_rx(stlc->hw, skb, &status);
+       memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
+       ieee80211_rx(stlc->hw, skb);
 
        return 0;
 }
This page took 0.029118 seconds and 5 git commands to generate.