Fixed ADR issues with not applying new channel map

Dependents:   eleven-x-semtech-workshop-demo

Fork of LoRaWAN-lib by Semtech

Revision:
6:d7a34ded7c87
Parent:
5:2477c924494a
Child:
7:c16969e0f70f
--- 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;