Update LoRaWAN MAC

Dependents:   LoRaWAN-SX1272-Application-crash LoRaWAN-SX1272-Application-24-31-9sec Canada-SX1272-LoRaWAN-EEPROM Training-Aug2018-SX1272-X-NUCLEO-IKS01A2_Natalia

Fork of LoRaWAN-lib by Semtech

Revision:
6:d7a34ded7c87
Parent:
5:2477c924494a
Child:
7:c16969e0f70f
Child:
11:58f66381eb7c
--- a/LoRaMac.cpp	Wed May 18 11:17:33 2016 +0000
+++ b/LoRaMac.cpp	Wed May 18 11:19:24 2016 +0000
@@ -3610,7 +3610,7 @@
         {
             if( ( LoRaMacState & MAC_TX_DELAYED ) == MAC_TX_DELAYED )
             {
-                status = LORAMAC_STATUS_BUSY;
+                return LORAMAC_STATUS_BUSY;
             }
 
             MlmeConfirm.MlmeRequest = mlmeRequest->Type;