mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 12:48:09 +00:00
ieee802154: Sets txdesc retrycount to the maxretries MAC attribute when allocated
This commit is contained in:
parent
222fe50d3a
commit
eaf4c05f27
1 changed files with 1 additions and 2 deletions
|
|
@ -229,9 +229,8 @@ int mac802154_txdesc_alloc(FAR struct ieee802154_privmac_s *priv,
|
|||
return -EINTR;
|
||||
}
|
||||
|
||||
/* Set the purge time to zero */
|
||||
|
||||
(*txdesc)->purgetime = 0;
|
||||
(*txdesc)->retrycount = priv->maxretries;
|
||||
|
||||
(*txdesc)->conf = ¬if->u.dataconf;
|
||||
return OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue