osmo-bts-trx: Don't increment rssi_valid_count twice
In the ms_power_val() function, don't increment the number of valid RSSI values counter twice. Change-Id: I19d9d933a69f7ad6252cbe51751d5db41790c698
This commit is contained in:
parent
160b624da8
commit
89f06e6c54
|
@ -109,7 +109,6 @@ static void ms_power_val(struct gsm_lchan *lchan, struct l1sched_chan_state *cha
|
|||
if (chan_state->meas.rssi_valid_count == ARRAY_SIZE(chan_state->meas.rssi))
|
||||
return;
|
||||
chan_state->meas.rssi[chan_state->meas.rssi_valid_count++] = rssi;
|
||||
chan_state->meas.rssi_valid_count++;
|
||||
}
|
||||
|
||||
/*! Process a single clock tick of the MS power control loop.
|
||||
|
|
Loading…
Reference in New Issue