RPL-Lite: make sure timers are re-started after global repair
@@ -230,7 +230,8 @@ global_repair_non_root(rpl_dio_t *dio)
/* Re-initialize configuration from DIO */
rpl_timers_stop_dag_timers();
rpl_neighbor_set_preferred_parent(NULL);
- init_dag_from_dio(dio);
+ /* This will both re-init the DAG and schedule required timers */
+ process_dio_init_dag(dio);
rpl_local_repair("Global repair");
}
}
