aboutsummaryrefslogtreecommitdiffstats
path: root/src/bsc_hack.c
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-06-06 13:54:20 +0000
committerHolger Freyther <zecke@selfish.org>2009-06-06 13:54:20 +0000
commitc7b86f90119ef70e4b26df689da6026c67f5d4c4 (patch)
treed58edd9c21bd2bd66958b3f8e41b414ff6b027d5 /src/bsc_hack.c
parent535abf2f40da5724ae03cb7de0b09136a45926fd (diff)
Revert "[db] Keep track of the current gsm_network"
This was a stupid decision. We will have to assign the network at some other place. The problem will be a problem when we have two gsm_networks in one process and the same subscriber is traveling in both networks.
Diffstat (limited to 'src/bsc_hack.c')
-rw-r--r--src/bsc_hack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsc_hack.c b/src/bsc_hack.c
index c80ffd583..188ccf6ae 100644
--- a/src/bsc_hack.c
+++ b/src/bsc_hack.c
@@ -970,7 +970,7 @@ static int bootstrap_network(void)
bts = &gsmnet->bts[0];
bootstrap_bts(bts);
- if (db_init(database_name, gsmnet)) {
+ if (db_init(database_name)) {
printf("DB: Failed to init database. Please check the option settings.\n");
return -1;
}