link_stats_input_callback: do not use EWMA when initializing RSSI

This commit is contained in:
Simon Duquennoy 2016-06-03 15:55:51 +02:00
parent 8ae00caea8
commit b73b6082fc

View file

@ -180,9 +180,8 @@ link_stats_input_callback(const linkaddr_t *lladdr)
/* Initialize */
stats->rssi = packet_rssi;
stats->etx = LINK_STATS_INIT_ETX(stats);
} else {
return; /* No space left, return */
}
return;
}
/* Update RSSI EWMA */