projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce skb_reset_mac_header(skb)
[deliverable/linux.git]
/
drivers
/
net
/
wireless
/
hostap
/
hostap_80211_tx.c
diff --git
a/drivers/net/wireless/hostap/hostap_80211_tx.c
b/drivers/net/wireless/hostap/hostap_80211_tx.c
index 4a5be70c04195c412aca816fb796cfc4e96cb8f3..159baef18e4abf982cda0609b4e21c9a0ec78f7c 100644
(file)
--- a/
drivers/net/wireless/hostap/hostap_80211_tx.c
+++ b/
drivers/net/wireless/hostap/hostap_80211_tx.c
@@
-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.025961 seconds
and
5
git commands to generate.