CSA edition of LoRaWAN open stack modified to comply Australian ISM band standards at 915Mhz

Fork of LoRaWAN-lib by Mehrad Arashrad

Revision:
4:37c12dbc8dc7
Parent:
3:b9d87593a8ae
diff -r b9d87593a8ae -r 37c12dbc8dc7 LoRaMac-api-v3.cpp
--- a/LoRaMac-api-v3.cpp	Mon Mar 14 09:09:54 2016 +0000
+++ b/LoRaMac-api-v3.cpp	Fri May 13 14:51:50 2016 +0000
@@ -105,8 +105,7 @@
         {
             case MLME_JOIN:
             {
-                 // Status is OK, node has joined the network
-                LoRaMacEventInfo.Status = mlmeConfirm->Status;
+                // Status is OK, node has joined the network
                 LoRaMacEventFlags.Bits.Tx = 1;
                 LoRaMacEventFlags.Bits.Rx = 1;
                 LoRaMacEventFlags.Bits.JoinAccept = 1;
@@ -126,6 +125,7 @@
                 break;
         }
     }
+    LoRaMacEventInfo.Status = mlmeConfirm->Status;
 
     if( LoRaMacFlags.Bits.McpsInd != 1 )
     {