|author||Neels Hofmeyr <firstname.lastname@example.org>||2018-04-16 14:48:34 +0200|
|committer||Neels Hofmeyr <email@example.com>||2018-04-16 14:55:40 +0200|
osmo-bts-trx: fix MS power loop: remove extranous increment
Increment chan_state->meas.rssi_valid_count only once, to record only valid rssi values, instead of interleaving with zero at every second element. Theoretically, the index within chan_state->meas.rssi could even walk past the array end, practically didn't only because the array size is even. To be superficially safer, change the condition from == to >=.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions