diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-08-18 18:39:32 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-28 19:55:48 +0200 |
commit | 347fea69a0b97441eaebca488b55d1ff1f539619 (patch) | |
tree | 942e73bfbf76d0c66125794b03a25bdc6cedc953 /src/osmo-bts-oc2g | |
parent | 9ef6fa079885b67a0aed14c911b104a4967beeb8 (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-oc2g')
-rw-r--r-- | src/osmo-bts-oc2g/oc2gbts_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-oc2g/oc2gbts_vty.c b/src/osmo-bts-oc2g/oc2gbts_vty.c index 4c3915ba..1f092dde 100644 --- a/src/osmo-bts-oc2g/oc2gbts_vty.c +++ b/src/osmo-bts-oc2g/oc2gbts_vty.c @@ -114,7 +114,7 @@ DEFUN(cfg_phy_dsp_trace_f, cfg_phy_dsp_trace_f_cmd, unsigned int flag; flag = get_string_value(oc2gbts_tracef_names, argv[1]); - pinst->u.oc2g.dsp_trace_f |= ~flag; + pinst->u.oc2g.dsp_trace_f |= flag; return CMD_SUCCESS; } |