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

mac802154: turn on ACK when enabled by the upper layers

Signed-off-by: default avatarTony Cheneau <tony.cheneau@amnesiak.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f333a15a
...@@ -145,6 +145,8 @@ static int mac802154_header_create(struct sk_buff *skb, ...@@ -145,6 +145,8 @@ static int mac802154_header_create(struct sk_buff *skb,
head[pos++] = mac_cb(skb)->seq; /* DSN/BSN */ head[pos++] = mac_cb(skb)->seq; /* DSN/BSN */
fc = mac_cb_type(skb); fc = mac_cb_type(skb);
if (mac_cb_is_ackreq(skb))
fc |= IEEE802154_FC_ACK_REQ;
if (!saddr) { if (!saddr) {
spin_lock_bh(&priv->mib_lock); spin_lock_bh(&priv->mib_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment