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
This commit is contained in:
parent
9ef6fa0798
commit
347fea69a0
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue