oml: use ts->trx as talloc-context in oml_rx_set_chan_attr()

Change-Id: I6dc3706a486726afa9eec5d2e5369bd62c511455
This commit is contained in:
Vadim Yanitskiy 2021-12-12 16:13:36 +03:00
parent 4275bf7232
commit 1d9106d768
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ static int oml_rx_set_chan_attr(struct gsm_bts_trx_ts *ts, struct msgb *msg)
} }
/* merge existing BTS attributes with new attributes */ /* merge existing BTS attributes with new attributes */
tp_merged = osmo_tlvp_copy(ts->mo.nm_attr, bts); tp_merged = osmo_tlvp_copy(ts->mo.nm_attr, ts->trx);
osmo_tlvp_merge(tp_merged, &tp); osmo_tlvp_merge(tp_merged, &tp);
/* Call into BTS driver to check attribute values */ /* Call into BTS driver to check attribute values */