aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 15:31:05 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-05-02 16:30:10 +0200
commit214302b306d6806605e1bec123dc97934f9f6504 (patch)
tree8402d144ce2ea31cba17215ddd65eaff04954504
parentdefe78f1e17cf34da0e602ad1a07c0214a7a81c9 (diff)
cosmetic: subscr_paging_dispatch() comments/indent
-rw-r--r--openbsc/src/libmsc/gsm_subscriber.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c
index ddaf32c2..6034968c 100644
--- a/openbsc/src/libmsc/gsm_subscriber.c
+++ b/openbsc/src/libmsc/gsm_subscriber.c
@@ -57,12 +57,9 @@ static struct gsm_subscriber *get_subscriber(struct gsm_subscriber_group *sgrp,
return subscr;
}
-/*
- * We got the channel assigned and can now hand this channel
- * over to one of our callbacks.
- */
+/* A connection is established and the paging callbacks may run now. */
static int subscr_paging_dispatch(unsigned int hooknum, unsigned int event,
- struct msgb *msg, void *data, void *param)
+ struct msgb *msg, void *data, void *param)
{
struct subscr_request *request, *tmp;
struct gsm_subscriber_connection *conn = data;
@@ -111,7 +108,6 @@ static int subscr_paging_sec_cb(unsigned int hooknum, unsigned int event,
switch (event) {
case GSM_SECURITY_AUTH_FAILED:
- /* Dispatch as paging failure */
rc = subscr_paging_dispatch(
GSM_HOOK_RR_PAGING, GSM_PAGING_EXPIRED,
msg, data, param);
@@ -119,7 +115,6 @@ static int subscr_paging_sec_cb(unsigned int hooknum, unsigned int event,
case GSM_SECURITY_NOAVAIL:
case GSM_SECURITY_SUCCEEDED:
- /* Dispatch as paging failure */
rc = subscr_paging_dispatch(
GSM_HOOK_RR_PAGING, GSM_PAGING_SUCCEEDED,
msg, data, param);