aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-08-29 14:05:37 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-08-29 14:13:44 +0200
commitf213fcbd4355723792abe6d52d5ac143b7b36106 (patch)
treeb840f984f0734d2cab22c990042e52d6dc4d5d79
parent8d4faf10cd09995f4160a551436bce0611facbeb (diff)
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
-rw-r--r--src/osmo-bsc/lchan_fsm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 28dc846ab..3352da59d 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -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 */
};