From c6a5819d8da4344420806d34de8db86df5eba426 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Sun, 25 Mar 2018 06:31:01 -0700 Subject: [PATCH] RPL local repair: do not reset link statistics --- os/net/routing/rpl-lite/rpl-dag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/os/net/routing/rpl-lite/rpl-dag.c b/os/net/routing/rpl-lite/rpl-dag.c index 65365ac77..7cf99e03b 100644 --- a/os/net/routing/rpl-lite/rpl-dag.c +++ b/os/net/routing/rpl-lite/rpl-dag.c @@ -220,7 +220,6 @@ rpl_local_repair(const char *str) curr_instance.dag.state = DAG_INITIALIZED; /* Reset DAG state */ } curr_instance.of->reset(); /* Reset OF */ - link_stats_reset(); /* Forget past link statistics */ rpl_neighbor_remove_all(); /* Remove all neighbors */ rpl_timers_dio_reset("Local repair"); /* Reset Trickle timer */ rpl_timers_schedule_state_update();