Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf692061 authored by Tony Cheneau's avatar Tony Cheneau Committed by David S. Miller
Browse files

mac802154: turn on ACK when enabled by the upper layers

parent f333a15a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -145,6 +145,8 @@ static int mac802154_header_create(struct sk_buff *skb,

	head[pos++] = mac_cb(skb)->seq; /* DSN/BSN */
	fc = mac_cb_type(skb);
	if (mac_cb_is_ackreq(skb))
		fc |= IEEE802154_FC_ACK_REQ;

	if (!saddr) {
		spin_lock_bh(&priv->mib_lock);