[SK_BUFF]: Introduce skb_reset_mac_header(skb)
[deliverable/linux.git] / drivers / net / wireless / hostap / hostap_80211_tx.c
index 4a5be70c04195c412aca816fb796cfc4e96cb8f3..159baef18e4abf982cda0609b4e21c9a0ec78f7c 100644 (file)
@@ -237,7 +237,7 @@ int hostap_data_start_xmit(struct sk_buff *skb, struct net_device *dev)
        iface->stats.tx_packets++;
        iface->stats.tx_bytes += skb->len;
 
-       skb->mac.raw = skb->data;
+       skb_reset_mac_header(skb);
        meta = (struct hostap_skb_tx_data *) skb->cb;
        memset(meta, 0, sizeof(*meta));
        meta->magic = HOSTAP_SKB_TX_DATA_MAGIC;
This page took 0.026023 seconds and 5 git commands to generate.