From 347fea69a0b97441eaebca488b55d1ff1f539619 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 18 Aug 2016 18:39:32 +0200 Subject: lc15,sysmo,oc2g: fix dsp-trace-flag command Remove the '~' from '|= flag', it is plain wrong. This affects the correct parsing of DSP trace flags from the config file only. The bug is not present in the interactive VTY command at runtime. Change-Id: I915971f49642967c969f5dd475e8faa960ef3960 --- src/osmo-bts-litecell15/lc15bts_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo-bts-litecell15') diff --git a/src/osmo-bts-litecell15/lc15bts_vty.c b/src/osmo-bts-litecell15/lc15bts_vty.c index d0edc886..d27ec281 100644 --- a/src/osmo-bts-litecell15/lc15bts_vty.c +++ b/src/osmo-bts-litecell15/lc15bts_vty.c @@ -88,7 +88,7 @@ DEFUN(cfg_phy_dsp_trace_f, cfg_phy_dsp_trace_f_cmd, unsigned int flag; flag = get_string_value(lc15bts_tracef_names, argv[1]); - pinst->u.lc15.dsp_trace_f |= ~flag; + pinst->u.lc15.dsp_trace_f |= flag; return CMD_SUCCESS; } -- cgit v1.2.3