summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2016-01-26 09:41:16 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2016-02-04 15:52:19 +0100
commitb42049436f203bde5ddb6aa1e72b670a8cfcb569 (patch)
tree59bacc43785af8180e5e1842a2617d7307a660ef
parent1f2f2cf0eb588b65fdc7a0d1e5a08540f45e8f76 (diff)
gprs: Fix some misleading comments
-rw-r--r--openbsc/src/gprs/sgsn_iu.c4
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/gprs/sgsn_iu.c b/openbsc/src/gprs/sgsn_iu.c
index 0782513e6..7bcb9dbe2 100644
--- a/openbsc/src/gprs/sgsn_iu.c
+++ b/openbsc/src/gprs/sgsn_iu.c
@@ -381,7 +381,7 @@ static int sccp_sap_up(struct osmo_prim_hdr *oph, void *link)
LOGP(DGPRS, LOGL_NOTICE, "Received invalid N-CONNECT.ind\n");
return 0;
}
- /* FIXME: allocate UE context */
+ /* allocate UE context */
ue = ue_conn_ctx_alloc(link, prim->u.connect.conn_id);
/* first ensure the local SUA/SCCP socket is ACTIVE */
resp = make_conn_resp(&prim->u.connect);
@@ -404,7 +404,7 @@ static int sccp_sap_up(struct osmo_prim_hdr *oph, void *link)
rc = ranap_cn_rx_co(cn_ranap_handle_co, ue, msgb_l2(oph->msg), msgb_l2len(oph->msg));
break;
case OSMO_PRIM(OSMO_SCU_PRIM_N_UNITDATA, PRIM_OP_INDICATION):
- /* connection-oriented data received */
+ /* connection-less data received */
printf("N-UNITDATA.ind(%s)\n",
osmo_hexdump(msgb_l2(oph->msg), msgb_l2len(oph->msg)));
rc = ranap_cn_rx_cl(cn_ranap_handle_cl, link, msgb_l2(oph->msg), msgb_l2len(oph->msg));
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c
index b2a0e7941..d3803e2cc 100644
--- a/openbsc/src/gprs/sgsn_libgtp.c
+++ b/openbsc/src/gprs/sgsn_libgtp.c
@@ -414,7 +414,7 @@ static int delete_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
/* Deactivate the SNDCP layer */
sndcp_sm_deactivate_ind(&pctx->mm->gb.llme->lle[pctx->sapi], pctx->nsapi);
} else {
- /* Activate a radio bearer */
+ /* Dectivate a radio bearer */
gprs_iu_rab_deact(&pctx->mm);
}