Enable RekeyInd again

feature-lorawan-1-1
Kimmo Vaisanen 2018-09-05 12:16:53 +03:00 committed by Antti Kauppila
parent a8dbad926c
commit 09f3259d94
1 changed files with 1 additions and 1 deletions

View File

@ -1085,7 +1085,7 @@ void LoRaWANStack::mlme_confirm_handler(loramac_mlme_confirm_t& mlme_confirm)
switch (mlme_confirm.status) {
case LORAMAC_EVENT_INFO_STATUS_OK:
if (_loramac.get_server_type() == LW1_1) {
// TODO: _rekey_ind_needed = true;
_rekey_ind_needed = true;
_rekey_ind_counter = 0;
// THIS IS NOT ALLOWED HERE!
// We might get JOIN_ACCEPT for rejoin type 1,