diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-05 18:41:45 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-05 18:41:45 +0200 |
commit | 30156e1eea9dd5ac5c9f266e3095a942b75ef20a (patch) | |
tree | 252c390c4433c74a65e1979904fa401452369cc3 /openbsc/src/libcommon/gsm_data_shared.c | |
parent | d34adb2f9f0190398bf124e3c44384dd72094676 (diff) |
sysmobts: Add the necessary data structure and init for the SAPI queue
The sysmobts is now having a SAPI queue with all pending SAPI operations
on the BTS. Add the llist_head to the lchan and make sure it is initialized
by the shared code.
Diffstat (limited to 'openbsc/src/libcommon/gsm_data_shared.c')
-rw-r--r-- | openbsc/src/libcommon/gsm_data_shared.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/src/libcommon/gsm_data_shared.c b/openbsc/src/libcommon/gsm_data_shared.c index ef29d6a17..9a50f6b66 100644 --- a/openbsc/src/libcommon/gsm_data_shared.c +++ b/openbsc/src/libcommon/gsm_data_shared.c @@ -173,6 +173,10 @@ struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts) lchan->ts = ts; lchan->nr = l; lchan->type = GSM_LCHAN_NONE; + +#ifndef ROLE_BSC + INIT_LLIST_HEAD(&lchan->sapi_cmds); +#endif } } |