mac80211: push rx status into skb->cb
[deliverable/linux.git] / drivers / net / wireless / wl12xx / wl1251_rx.c
index 48fa39ea17edebcc5a82a7e9e1ab8ac50df0c3d9..0dbb483a0973d888938a69a6f41aba26dafc7849 100644 (file)
@@ -151,7 +151,8 @@ static void wl1251_rx_body(struct wl1251 *wl,
        wl1251_debug(DEBUG_RX, "rx skb 0x%p: %d B %s", skb, skb->len,
                     beacon ? "beacon" : "");
 
-       ieee80211_rx(wl->hw, skb, &status);
+       memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
+       ieee80211_rx(wl->hw, skb);
 }
 
 static void wl1251_rx_ack(struct wl1251 *wl)
This page took 0.025202 seconds and 5 git commands to generate.