diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-08-09 15:24:04 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-08-10 10:19:37 +0200 |
commit | 429d332ece55ccb67052896c1d20f3c5b3fc60e5 (patch) | |
tree | dea4a4323541f47ba7c1c0ee0efff5c17b85d2d3 /src | |
parent | f24970a7caa448503d18e5033452391193452205 (diff) |
sgsn_rim: cosmetic: improve comment
Let's describe more clear what we do in sgsn_bssgp_fwd_rim_to_geran
Related: OS#6095
Change-Id: I54aa82845515bcaa6badc9e0e87fa6248333430e
Diffstat (limited to 'src')
-rw-r--r-- | src/sgsn/sgsn_rim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sgsn/sgsn_rim.c b/src/sgsn/sgsn_rim.c index 07eff6b48..4ba672ed4 100644 --- a/src/sgsn/sgsn_rim.c +++ b/src/sgsn/sgsn_rim.c @@ -21,6 +21,7 @@ static int sgsn_bssgp_fwd_rim_to_geran(const struct bssgp_ran_information_pdu *p struct bssgp_bvc_ctx *bvc_ctx; OSMO_ASSERT(pdu->routing_info_dest.discr == BSSGP_RIM_ROUTING_INFO_GERAN); + /* Resolve RIM ROUTING ADDRESS to a BVC context */ bvc_ctx = btsctx_by_raid_cid(&pdu->routing_info_dest.geran.raid, pdu->routing_info_dest.geran.cid); if (!bvc_ctx) { LOGP(DRIM, LOGL_ERROR, "Unable to find NSEI for destination cell %s\n", @@ -28,7 +29,7 @@ static int sgsn_bssgp_fwd_rim_to_geran(const struct bssgp_ran_information_pdu *p return -EINVAL; } - /* Forward PDU as it is to the correct interface */ + /* Forward PDU to the NSEI of the resolved BVC context */ return bssgp_tx_rim(pdu, bvc_ctx->nsei); } |