commit | c696d2f22b15da2f064c54ea520fea7207dd652c | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Oct 26 20:14:33 2009 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Oct 26 20:14:33 2009 +0100 |
tree | c2422d117653c5c8ae67fc95dd42b25161d72b3c | |
parent | 794059b09682fd11b84fb8210fdd619d91d6b30a [diff] [blame] |
Fix segfault, use trx->bts rather than bts in patch_nm_tables()
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c index 1394dd8..815fe2b 100644 --- a/openbsc/src/bsc_init.c +++ b/openbsc/src/bsc_init.c
@@ -378,7 +378,7 @@ 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);