Skip to content

Commit

Permalink
Merge pull request ARMmbed#7520 from hasnainvirk/cont_join_issue
Browse files Browse the repository at this point in the history
LoRaWAN: Wrong return code for JoinRequest retry
  • Loading branch information
Cruz Monrreal authored Jul 19, 2018
2 parents 2188110 + 4a4f8de commit d91d3a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/lorawan/lorastack/mac/LoRaMac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ bool LoRaMac::continue_joining_process()
}

// Schedule a retry
if (handle_retransmission() != LORAWAN_STATUS_OK) {
if (handle_retransmission() != LORAWAN_STATUS_CONNECT_IN_PROGRESS) {
return false;
}

Expand Down

0 comments on commit d91d3a6

Please sign in to comment.