Skip to content
Snippets Groups Projects
Unverified Commit 191ae9c7 authored by Simon Duquennoy's avatar Simon Duquennoy Committed by GitHub
Browse files

Merge pull request #1047 from atiselsts/bugfix/link-stats

fix initialization of link stats
parents 20778a13 2f506f62
No related branches found
No related tags found
No related merge requests found
......@@ -225,6 +225,9 @@ link_stats_input_callback(const linkaddr_t *lladdr)
#else /* LINK_STATS_INIT_ETX_FROM_RSSI */
stats->etx = ETX_DEFAULT * ETX_DIVISOR;
#endif /* LINK_STATS_INIT_ETX_FROM_RSSI */
#if LINK_STATS_PACKET_COUNTERS
stats->cnt_current.num_packets_rx = 1;
#endif
}
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment