From dcaf5654db6db1ea2649907322811312d92495ec Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 23 Jul 2009 18:56:43 +0200 Subject: gms_transactions data model reorganization This changeset factors out gsm_transaction as something independent of call control in preparation to re-use the code from SMS. A transaction is uniquely identified by either its callref, or by a tuple of (transaction_id, protocol, subscriber). --- openbsc/src/gsm_subscriber.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src/gsm_subscriber.c') diff --git a/openbsc/src/gsm_subscriber.c b/openbsc/src/gsm_subscriber.c index 1a5ea2f11..60dec4321 100644 --- a/openbsc/src/gsm_subscriber.c +++ b/openbsc/src/gsm_subscriber.c @@ -171,6 +171,7 @@ int subscr_update(struct gsm_subscriber *s, struct gsm_bts *bts, int reason) /* FIXME: Migrate pending requests from one BSC to another */ switch (reason) { case GSM_SUBSCRIBER_UPDATE_ATTACHED: + s->net = bts->network; /* Indicate "attached to LAC" */ s->lac = bts->location_area_code; break; -- cgit v1.2.3