aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac802154/wpan.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac802154/wpan.c')
-rw-r--r--net/mac802154/wpan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
index 2ca2f4dceab7..e24bcf977296 100644
--- a/net/mac802154/wpan.c
+++ b/net/mac802154/wpan.c
@@ -208,6 +208,8 @@ static int mac802154_header_create(struct sk_buff *skb,
208 head[1] = fc >> 8; 208 head[1] = fc >> 8;
209 209
210 memcpy(skb_push(skb, pos), head, pos); 210 memcpy(skb_push(skb, pos), head, pos);
211 skb_reset_mac_header(skb);
212 skb->mac_len = pos;
211 213
212 return pos; 214 return pos;
213} 215}