ieee802154: Fixes issue with association on beacon-enabled networking
This commit is contained in:
parent
2f01b92fe2
commit
86b690a285
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue