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
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment