File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -1620,16 +1620,9 @@ static void LoRaMacHandleMlmeRequest( void )
16201620 // Handle join request
16211621 if ( MacCtx .MacFlags .Bits .MlmeReq == 1 )
16221622 {
1623- if ( ( LoRaMacConfirmQueueIsCmdActive ( MLME_JOIN ) == true ) )
1624- {
1625- if ( LoRaMacConfirmQueueGetStatus ( MLME_JOIN ) == LORAMAC_EVENT_INFO_STATUS_OK )
1626- {// Node joined successfully
1627- MacCtx .ChannelsNbTransCounter = 0 ;
1628- }
1629- MacCtx .MacState &= ~LORAMAC_TX_RUNNING ;
1630- }
1631- else if ( ( LoRaMacConfirmQueueIsCmdActive ( MLME_TXCW ) == true ) ||
1632- ( LoRaMacConfirmQueueIsCmdActive ( MLME_TXCW_1 ) == true ) )
1623+ if ( ( LoRaMacConfirmQueueIsCmdActive ( MLME_JOIN ) == true ) ||
1624+ ( LoRaMacConfirmQueueIsCmdActive ( MLME_TXCW ) == true ) ||
1625+ ( LoRaMacConfirmQueueIsCmdActive ( MLME_TXCW_1 ) == true ) )
16331626 {
16341627 MacCtx .MacState &= ~LORAMAC_TX_RUNNING ;
16351628 }
You can’t perform that action at this time.
0 commit comments