mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mac802154: turn on ACK when enabled by the upper layers
Signed-off-by: Tony Cheneau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f333a15a3e
commit
cf692061d0
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue