aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmt/nmt.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-06-11 08:13:52 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-06-11 08:13:52 +0200
commit7a9762e28e1bc34811f4f20d583503bdb9fec138 (patch)
tree6d65db52065d5d76f72552a57443c5a1ed8d4275 /src/nmt/nmt.c
parent3e86ef95c4d522ea45dbb49f266a47bf41c33452 (diff)
NMT: Disable Supervisory signal during DMS (SMS) transfer and use Timeout
There is no Supervisory signal during DMS transfer, so there must be no timeout for Supervisory signal. Instead, the SMS layer will timeout after some seconds without receiving data.
Diffstat (limited to 'src/nmt/nmt.c')
-rw-r--r--src/nmt/nmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c
index 1bd637d..1ab0af0 100644
--- a/src/nmt/nmt.c
+++ b/src/nmt/nmt.c
@@ -924,7 +924,7 @@ static void tx_mo_complete(nmt_t *nmt, frame_t *frame)
nmt_new_state(nmt, STATE_ACTIVE);
nmt->active_state = ACTIVE_STATE_VOICE;
nmt_set_dsp_mode(nmt, DSP_MODE_AUDIO);
- if (nmt->supervisory) {
+ if (nmt->supervisory && !nmt->dms_call) {
super_reset(nmt);
timer_start(&nmt->timer, SUPERVISORY_TO1);
}
@@ -1179,7 +1179,7 @@ static void tx_mt_complete(nmt_t *nmt, frame_t *frame)
nmt_new_state(nmt, STATE_ACTIVE);
nmt->active_state = ACTIVE_STATE_VOICE;
nmt_set_dsp_mode(nmt, DSP_MODE_AUDIO);
- if (nmt->supervisory) {
+ if (nmt->supervisory && !nmt->dms_call) {
super_reset(nmt);
timer_start(&nmt->timer, SUPERVISORY_TO1);
}