LoRaWAN: Wrong return code for JoinRequest retry

51f92b0efd introduced
handling for connection attempts while a connection was already underway or have been
completed. Unfortunately a similar check slipped through and the stack was not able to continue
sending join requests if an error happened.
pull/7520/head
Hasnain Virk 2018-07-16 16:28:52 +03:00
parent 38744b9e68
commit 4a4f8de6f2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}