aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/6lowpan.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154/6lowpan.c')
-rw-r--r--net/ieee802154/6lowpan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index 9f53904b5261..e7f61de2459a 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -584,6 +584,10 @@ static int lowpan_header_create(struct sk_buff *skb,
584 584
585 mac_cb(skb)->flags = IEEE802154_FC_TYPE_DATA; 585 mac_cb(skb)->flags = IEEE802154_FC_TYPE_DATA;
586 586
587 /* request acknowledgment when possible */
588 if (!lowpan_is_addr_broadcast(daddr))
589 mac_cb(skb)->flags |= MAC_CB_FLAG_ACKREQ;
590
587 return dev_hard_header(skb, lowpan_dev_info(dev)->real_dev, 591 return dev_hard_header(skb, lowpan_dev_info(dev)->real_dev,
588 type, (void *)&da, (void *)&sa, skb->len); 592 type, (void *)&da, (void *)&sa, skb->len);
589 } 593 }