aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/gsm_04_08.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-02-27 16:56:59 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-28 18:28:03 +0000
commite0d5caa91694e945f4f4af8d424161a4c5e1ec18 (patch)
tree512a8c42ed3ada391f5cc6bf5ffcd1120a526a1f /openbsc/src/libmsc/gsm_04_08.c
parentacc6e8323afad3cf7a2661b5c020f81d1dd9b0aa (diff)
silent_call: remove unfinished fuzzer interface
Remove the fuzzer interface that was partially implemented in gsm_04_08.c and silent_call.c is causing problems when an SMS is sent during an active silent call. The reason for this is that gsm0408_dispatch() in gsm_04_08.c would decide to rout all uplink traffic to silent_call_rx() in silent_call.c. silent_call_rx() is a stub function that discards the data. This patch removes the fuzzer interface code by placing ifdefs around it, so that it can be re-activated by experimentators. Change-Id: Id500197d58663b3f4b1756136343670388b0a4bc
Diffstat (limited to 'openbsc/src/libmsc/gsm_04_08.c')
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index be43956c1..3cc86ba37 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -3958,8 +3958,10 @@ int gsm0408_dispatch(struct gsm_subscriber_connection *conn, struct msgb *msg)
OSMO_ASSERT(msg);
LOGP(DRLL, LOGL_DEBUG, "Dispatching 04.08 message, pdisc=%d\n", pdisc);
+#if 0
if (silent_call_reroute(conn, msg))
return silent_call_rx(conn, msg);
+#endif
switch (pdisc) {
case GSM48_PDISC_CC: