diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-23 07:52:17 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-25 09:07:28 +0100 |
commit | 18b63f4b4136df2b0c8872c3323c4b19f5b4030f (patch) | |
tree | 2d4b1bc0a6688047a7185c0b7c509659b098fdd3 /openbsc/src/chan_alloc.c | |
parent | ec32b5860ede4b8a4192a76911137efd8b924595 (diff) |
Store the GSM BTS in the gsm subscriber connection
Remove further usage of lchan from the gsm 04.11 bits
Diffstat (limited to 'openbsc/src/chan_alloc.c')
-rw-r--r-- | openbsc/src/chan_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index f2683f6dd..c8e358dc8 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -264,6 +264,7 @@ struct gsm_lchan *lchan_alloc(struct gsm_bts *bts, enum gsm_chan_t type) /* Configure the time and start it so it will be closed */ lchan->conn.lchan = lchan; + lchan->conn.bts = lchan->ts->trx->bts; lchan->conn.release_timer.cb = auto_release_channel; lchan->conn.release_timer.data = lchan; bsc_schedule_timer(&lchan->conn.release_timer, LCHAN_RELEASE_TIMEOUT); |