aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_11.c
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-08-13 13:49:51 +0200
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-08-13 13:49:51 +0200
commitaa9dc19ca7e64f63863f7622150fd8ea625baf9f (patch)
tree30ee6632438bb5c4d80409216d3981f3ae8171b6 /openbsc/src/gsm_04_11.c
parent3feef255d256f689fa9227ca12f0be0b17cabe89 (diff)
remove FIRST_CONTACT signal, the subscriber flag is sufficient
Diffstat (limited to 'openbsc/src/gsm_04_11.c')
-rw-r--r--openbsc/src/gsm_04_11.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c
index 1dc68d0c3..5070b5413 100644
--- a/openbsc/src/gsm_04_11.c
+++ b/openbsc/src/gsm_04_11.c
@@ -970,18 +970,6 @@ static int subscr_sig_cb(unsigned int subsys, unsigned int signal,
/* Establish a SAPI3 RLL connection for SMS */
rll_establish(lchan, UM_SAPI_SMS, rll_ind_cb, sms);
break;
- case S_SUBSCR_FIRST_CONTACT:
- /* A new subscriber has just been created in the DB */
- subscr = signal_data;
- if (subscr->net->auth_policy == GSM_AUTH_POLICY_TOKEN) {
- if (db_subscriber_alloc_token(subscr, &token)) {
- /* error: probably use already has a token */
- break;
- } else {
- /* FIXME: send sms with token here */
- }
- }
- break;
default:
break;
}