diff options
author | Eric <ewild@sysmocom.de> | 2023-08-24 11:42:57 +0200 |
---|---|---|
committer | Eric <ewild@sysmocom.de> | 2023-08-24 11:43:47 +0200 |
commit | 8c1d59086e5bd0620a649e2165e5161b9b65b678 (patch) | |
tree | 06a849bcaa5f445107110e775169f0b7baa8f6ef | |
parent | f57a86131ef48511fa92771ba008bc30e6ee9c3e (diff) |
trx: fix dev-args issue
osmo_talloc_replace_string used by the vty needs a talloc string.
Change-Id: Ifed8fd42dc7464899de69985f3b5f5b47c88a7d1
-rw-r--r-- | CommonLibs/trx_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c index 1878d83..55142ef 100644 --- a/CommonLibs/trx_vty.c +++ b/CommonLibs/trx_vty.c @@ -822,7 +822,7 @@ struct trx_ctx *vty_trx_ctx_alloc(void *talloc_ctx) trx->cfg.rx_sps = DEFAULT_RX_SPS; trx->cfg.filler = FILLER_ZERO; trx->cfg.rssi_offset = 0.0f; - trx->cfg.dev_args = ""; + trx->cfg.dev_args = talloc_strdup(trx, ""); return trx; } |