Change in osmo-bsc[master]: cosmetic: lchan activ: drop todo comments

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Aug 30 02:56:12 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/10700


Change subject: cosmetic: lchan activ: drop todo comments
......................................................................

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
---
M src/osmo-bsc/lchan_fsm.c
1 file changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/00/10700/1

diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 28dc846..3352da5 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -447,14 +447,12 @@
 		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 */
 			};

-- 
To view, visit https://gerrit.osmocom.org/10700
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I47e90062c784dd7919fff3115e2bee3314b30cd5
Gerrit-Change-Number: 10700
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180830/3a1c31a9/attachment.htm>


More information about the gerrit-log mailing list