mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
ieee802154: Sets txdesc retrycount to the maxretries MAC attribute when allocated
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user