osmo-bts-trx: remove an 'else' branch in _sched_dl_burst()
When I introduced this branch in change [1], I was under assumption that PDCHs never have an associated 'struct gsm_lchan'. This is incorrect: the association actually happens during PDCH activation, i.e. when osmo-pcu establishes connection over the PCUIF. Enforcing attenuation of 0 dB for other channel types makes no sense. [1] I3dcee6e910ccc61c5c63c728db9ea04327e2fc98 Change-Id: I77a839725f22be1be4a025f579c4c9ccdfb53460
This commit is contained in:
parent
4034e61d03
commit
056a3632dc
|
@ -1327,8 +1327,6 @@ void _sched_dl_burst(struct l1sched_ts *l1ts, struct trx_dl_burst_req *br)
|
|||
/* BS Power reduction (in dB) per logical channel */
|
||||
if (l1cs->lchan != NULL)
|
||||
br->att = l1cs->lchan->bs_power_ctrl.current;
|
||||
else /* Ensure no attenuation in the absence of lchan (e.g. on PDCH) */
|
||||
br->att = 0;
|
||||
|
||||
/* encrypt */
|
||||
if (br->burst_len && l1cs->dl_encr_algo) {
|
||||
|
|
Loading…
Reference in New Issue