mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
ieee802154: Fixes issue with association on beacon-enabled networking
This commit is contained in:
@@ -1850,6 +1850,10 @@ static void mac802154_rxbeaconframe(FAR struct ieee802154_privmac_s *priv,
|
|||||||
{
|
{
|
||||||
priv->curr_cmd = IEEE802154_CMD_DATA_REQ;
|
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)
|
else if (priv->curr_op == MAC802154_OP_NONE)
|
||||||
{
|
{
|
||||||
DEBUGASSERT(priv->opsem.semcount == 1);
|
DEBUGASSERT(priv->opsem.semcount == 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user