aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-08-18 18:39:32 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-28 19:55:48 +0200
commit347fea69a0b97441eaebca488b55d1ff1f539619 (patch)
tree942e73bfbf76d0c66125794b03a25bdc6cedc953 /src/osmo-bts-sysmo
parent9ef6fa079885b67a0aed14c911b104a4967beeb8 (diff)
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
Diffstat (limited to 'src/osmo-bts-sysmo')
-rw-r--r--src/osmo-bts-sysmo/sysmobts_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c
index b105bf4d..3199c8e2 100644
--- a/src/osmo-bts-sysmo/sysmobts_vty.c
+++ b/src/osmo-bts-sysmo/sysmobts_vty.c
@@ -179,7 +179,7 @@ DEFUN(cfg_phy_dsp_trace_f, cfg_phy_dsp_trace_f_cmd,
unsigned int flag;
flag = get_string_value(femtobts_tracef_names, argv[1]);
- pinst->u.sysmobts.dsp_trace_f |= ~flag;
+ pinst->u.sysmobts.dsp_trace_f |= flag;
return CMD_SUCCESS;
}