diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-26 15:44:57 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-02 19:19:15 +0200 |
commit | 5a081bbb1d4b8974c160a2ddaf544a691c78e187 (patch) | |
tree | 2f3046b10162c43e6cb052f461b34aee089718ad /openbsc/src/libbsc/bsc_init.c | |
parent | e188010512388acdb1408f3d1a0749c25c2c99e3 (diff) |
paging: Initialize structs internally to avoid a crash
The code to create the struct gsm_bts is in libcommon right now
and we can not call paging_init from there. Right now it appears
to be the easiest of doing the init internally.
Diffstat (limited to 'openbsc/src/libbsc/bsc_init.c')
-rw-r--r-- | openbsc/src/libbsc/bsc_init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/bsc_init.c b/openbsc/src/libbsc/bsc_init.c index 8ea2cfa31..1d14df1a7 100644 --- a/openbsc/src/libbsc/bsc_init.c +++ b/openbsc/src/libbsc/bsc_init.c @@ -404,8 +404,6 @@ static int bootstrap_bts(struct gsm_bts *bts) bts->si_common.ncc_permitted = 0xff; - paging_init(bts); - return 0; } |