wireless/ieee80215: Fixes poll request issue
This commit is contained in:
parent
fc4f1de766
commit
0603d34ad9
@ -142,6 +142,12 @@ int mac802154_req_poll(MACHANDLE mac, FAR struct ieee802154_poll_req_s *req)
|
|||||||
txdesc);
|
txdesc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Save a copy of the destination addressing infromation into the tx descriptor.
|
||||||
|
* We only do this for commands to help with handling their progession.
|
||||||
|
*/
|
||||||
|
|
||||||
|
memcpy(&txdesc->destaddr, &req->coordaddr, sizeof(struct ieee802154_addr_s));
|
||||||
|
|
||||||
/* Save a reference of the tx descriptor */
|
/* Save a reference of the tx descriptor */
|
||||||
|
|
||||||
priv->cmd_desc = txdesc;
|
priv->cmd_desc = txdesc;
|
||||||
|
Loading…
Reference in New Issue
Block a user