diff --git a/wireless/ieee802154/mac802154.c b/wireless/ieee802154/mac802154.c index a04fd4ccf54..152d4e639b2 100644 --- a/wireless/ieee802154/mac802154.c +++ b/wireless/ieee802154/mac802154.c @@ -342,6 +342,7 @@ void mac802154_createdatareq(FAR struct ieee802154_privmac_s *priv, txdesc->frame = iob; txdesc->frametype = IEEE802154_FRAME_COMMAND; + txdesc->ackreq = true; /* Save a copy of the destination addressing information into the tx * descriptor. We only do this for commands to help with handling their @@ -1632,6 +1633,7 @@ static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv, txdesc->frame = iob; txdesc->frametype = IEEE802154_FRAME_DATA; + txdesc->ackreq = false; mac802154_unlock(priv) diff --git a/wireless/ieee802154/mac802154_assoc.c b/wireless/ieee802154/mac802154_assoc.c index 46f67c89a16..6e09bf22e9c 100644 --- a/wireless/ieee802154/mac802154_assoc.c +++ b/wireless/ieee802154/mac802154_assoc.c @@ -234,6 +234,7 @@ int mac802154_req_associate(MACHANDLE mac, txdesc->frame = iob; txdesc->frametype = IEEE802154_FRAME_COMMAND; + txdesc->ackreq = true; /* Save a copy of the destination addressing infromation into the tx * descriptor. We only do this for commands to help with handling their @@ -422,6 +423,7 @@ int mac802154_resp_associate(MACHANDLE mac, txdesc->frame = iob; txdesc->frametype = IEEE802154_FRAME_COMMAND; + txdesc->ackreq = true; txdesc->destaddr.mode = IEEE802154_ADDRMODE_EXTENDED; IEEE802154_PANIDCOPY(txdesc->destaddr.panid, priv->addr.panid);