Fix segfault, use trx->bts rather than bts in patch_nm_tables()
This commit is contained in:
parent
85c00cc3d9
commit
65bdc914f6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue