summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/mnccms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/mobile/mnccms.c')
-rw-r--r--src/host/layer23/src/mobile/mnccms.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/host/layer23/src/mobile/mnccms.c b/src/host/layer23/src/mobile/mnccms.c
index e0e9b26c..4c9dcb46 100644
--- a/src/host/layer23/src/mobile/mnccms.c
+++ b/src/host/layer23/src/mobile/mnccms.c
@@ -677,10 +677,12 @@ int mncc_call(struct osmocom_ms *ms, char *number)
/* bearer capability (mandatory) */
mncc_set_bearer(ms, -1, &setup);
+
+ /* CLIR */
if (ms->settings.clir)
- setup.clir.sup = 1;
- else if (ms->settings.clip)
setup.clir.inv = 1;
+ else if (ms->settings.clip)
+ setup.clir.sup = 1;
/* CC capabilities (optional) */
if (ms->settings.cc_dtmf) {