aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_11.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-16 14:02:41 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-16 15:42:40 +0800
commitbddd152049c26a92dc8eb22e18a528eb88df4ed0 (patch)
tree30482ee99e3bbcf81e2fe4438fbe69da0bdd0ab4 /openbsc/src/gsm_04_11.c
parent9ce1b27fbfde5cd7248af3e6ccecbd339b098d1f (diff)
bsc_api: Operate on the subscriber connection for subscriber management
Diffstat (limited to 'openbsc/src/gsm_04_11.c')
-rw-r--r--openbsc/src/gsm_04_11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gsm_04_11.c b/openbsc/src/gsm_04_11.c
index 9d653338..dbb1fb56 100644
--- a/openbsc/src/gsm_04_11.c
+++ b/openbsc/src/gsm_04_11.c
@@ -124,10 +124,10 @@ void sms_free(struct gsm_sms *sms)
*/
static void gsm411_release_conn(struct gsm_subscriber_connection *conn)
{
- if (!conn->lchan)
+ if (!conn)
return;
- subscr_put_channel(conn->lchan);
+ subscr_put_channel(conn);
}
struct msgb *gsm411_msgb_alloc(void)