mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
38744b9e68
commit
4a4f8de6f2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue