diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/chan_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index a0eda546e..3c8082da6 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -513,7 +513,7 @@ struct gsm_subscriber_connection *subscr_con_allocate(struct gsm_lchan *lchan) { struct gsm_subscriber_connection *conn; - conn = talloc_zero(lchan->ts->trx->bts, struct gsm_subscriber_connection); + conn = talloc_zero(lchan->ts->trx->bts->network, struct gsm_subscriber_connection); if (!conn) return NULL; |