ieee802154: Sets txdesc retrycount to the maxretries MAC attribute when allocated
This commit is contained in:
parent
222fe50d3a
commit
eaf4c05f27
@ -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…
Reference in New Issue
Block a user