mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 06:18:40 +08:00
ieee802154: Fixes issue with association on beacon-enabled networking
This commit is contained in:
parent
2f01b92fe2
commit
86b690a285
1 changed files with 4 additions and 0 deletions
|
@ -1850,6 +1850,10 @@ static void mac802154_rxbeaconframe(FAR struct ieee802154_privmac_s *priv,
|
|||
{
|
||||
priv->curr_cmd = IEEE802154_CMD_DATA_REQ;
|
||||
}
|
||||
else if (priv->curr_op == MAC802154_OP_ASSOC)
|
||||
{
|
||||
priv->curr_cmd = IEEE802154_CMD_DATA_REQ;
|
||||
}
|
||||
else if (priv->curr_op == MAC802154_OP_NONE)
|
||||
{
|
||||
DEBUGASSERT(priv->opsem.semcount == 1);
|
||||
|
|
Loading…
Reference in a new issue