diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-10-26 20:14:33 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-10-26 20:14:33 +0100 |
commit | 65bdc914f64c7ea2ccd417ef7507819bb85983f7 (patch) | |
tree | c2422d117653c5c8ae67fc95dd42b25161d72b3c /openbsc/src/bsc_init.c | |
parent | 85c00cc3d972ec1128d44a6904624e66261aeb77 (diff) |
Fix segfault, use trx->bts rather than bts in patch_nm_tables()
Diffstat (limited to 'openbsc/src/bsc_init.c')
-rw-r--r-- | openbsc/src/bsc_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index 1394dd89c..815fe2b6e 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c @@ -378,7 +378,7 @@ int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj, trx = ts->trx; if (new_state->operational == 1 && new_state->availability == NM_AVSTATE_DEPENDENCY) { - patch_nm_tables(bts); + patch_nm_tables(trx->bts); enum abis_nm_chan_comb ccomb = abis_nm_chcomb4pchan(ts->pchan); abis_nm_set_channel_attr(ts, ccomb); |