summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-19 22:27:32 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-19 22:27:32 +0200
commit15f6c9f1e8758c25cc91975f1d8330a26d8ed2e8 (patch)
treeae30eb400a531026f9623ef0cc2a84b5fdcb64d5 /openbsc
parent5d5a25bc5aed88900a7b26d4c8ddbbb53fbe4945 (diff)
cosmetic: comment, whitespace
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/include/openbsc/iu.h2
-rw-r--r--openbsc/src/libiu/iu.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/iu.h b/openbsc/include/openbsc/iu.h
index f9c5a2e28..0f178d74b 100644
--- a/openbsc/include/openbsc/iu.h
+++ b/openbsc/include/openbsc/iu.h
@@ -25,7 +25,7 @@ enum iu_event_type {
/* Implementations of iu_recv_cb_t shall find the ue_conn_ctx in msg->dst. */
typedef int (* iu_recv_cb_t )(struct msgb *msg, struct gprs_ra_id *ra_id,
- /* TODO is ra_id only used for gprs? ^ */
+ /* TODO "gprs_" in generic CS+PS domain ^ */
uint16_t *sai);
typedef int (* iu_event_cb_t )(struct ue_conn_ctx *ue_ctx,
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c
index 2a6196193..f93fc0b38 100644
--- a/openbsc/src/libiu/iu.c
+++ b/openbsc/src/libiu/iu.c
@@ -33,7 +33,6 @@
int asn1_xer_print = 1;
void *talloc_asn1_ctx;
-
iu_recv_cb_t global_iu_recv_cb = NULL;
iu_event_cb_t global_iu_event_cb = NULL;
@@ -152,7 +151,7 @@ int iu_tx_sec_mode_cmd(struct ue_conn_ctx *uectx, struct gsm_auth_tuple *tp,
memcpy(ck+8, tp->kc, 8);
}
- /* crate RANAP message */
+ /* create RANAP message */
msg = ranap_new_msg_sec_mod_cmd(ik, send_ck? ck : NULL, new_key ? RANAP_KeyStatus_new : RANAP_KeyStatus_old);
msg->l2h = msg->data;
/* wrap RANAP message in SCCP N-DATA.req */