aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbgw_hnbap.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-25 14:47:26 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-04-25 15:25:12 +0200
commit9246cc9e1e4c9fab62781c987b58dd1bf1f86601 (patch)
treee4a9f36e8e50242cdc7a24e91181ac512aa56963 /src/hnbgw_hnbap.c
parent8f62106d5d094f71511928a5eb0674d60838c896 (diff)
cosmetic: comments, log typo, explicit pointer
Fix log typo 'REGSITER' and add some comments on UE Register with TMSI. The container_pair struct starts with 'list', so passing the container_pair pointer is equivalent to passing the list; but instead, explicitly mention the list member to avoid confusion.
Diffstat (limited to 'src/hnbgw_hnbap.c')
-rw-r--r--src/hnbgw_hnbap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hnbgw_hnbap.c b/src/hnbgw_hnbap.c
index 971e97e..246c983 100644
--- a/src/hnbgw_hnbap.c
+++ b/src/hnbgw_hnbap.c
@@ -123,7 +123,7 @@ static int hnbgw_rx_hnb_deregister(struct hnb_context *ctx, ANY_t *in)
if (rc < 0)
return rc;
- DEBUGP(DHNBAP, "HNB-DE-REGSITER cause=%ld\n",
+ DEBUGP(DHNBAP, "HNB-DE-REGISTER cause=%ld\n",
ies.cause);
hnbap_free_hnbde_registeries(&ies);
@@ -184,7 +184,9 @@ static int hnbgw_rx_ue_register_req(struct hnb_context *ctx, ANY_t *in)
ies.uE_Identity.choice.iMSIESN.iMSIDS41.size);
break;
default:
- LOGP(DHNBAP, LOGL_NOTICE, "UE-REGISTER-REQ without IMSI?!?\n");
+ LOGP(DHNBAP, LOGL_NOTICE, "UE-REGISTER-REQ without IMSI\n");
+ /* TODO: this is probably a TMSI registration. Store TMSIs
+ * and look them up to accept UE Registration. */
return -1;
}