cosmetic: lchan activ: drop todo comments
Drop the todo comments about "for_conn->encr". I have intended that as an idea to store encryption info in the conn instead of the lchan, which might make sense, but there's no use in these comments. Change-Id: I47e90062c784dd7919fff3115e2bee3314b30cd5
This commit is contained in:
parent
8d4faf10cd
commit
f213fcbd43
|
@ -447,14 +447,12 @@ static void lchan_fsm_unused(struct osmo_fsm_inst *fi, uint32_t event, void *dat
|
|||
lchan->activate.re_use_mgw_endpoint_from_lchan = info->old_lchan;
|
||||
|
||||
if (info->old_lchan) {
|
||||
/* TODO: rather take info->for_conn->encr? */
|
||||
lchan->encr = info->old_lchan->encr;
|
||||
lchan->ms_power = info->old_lchan->ms_power;
|
||||
lchan->bs_power = info->old_lchan->bs_power;
|
||||
lchan->rqd_ta = info->old_lchan->rqd_ta;
|
||||
} else {
|
||||
struct gsm_bts *bts = lchan->ts->trx->bts;
|
||||
/* TODO: rather take info->for_conn->encr? */
|
||||
lchan->encr = (struct gsm_encr){
|
||||
.alg_id = RSL_ENC_ALG_A5(0), /* no encryption */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue