diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-12-11 23:20:03 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-12-11 23:20:03 +0000 |
commit | 67696c11dcfebf3b959388daeeddfd1cb3bef1c6 (patch) | |
tree | 58dbdded114bf59b47f56502a6fa4870767cc92f | |
parent | cec1c901389aec064d3814dce4ca181818d46c92 (diff) |
dahdi-base: Do not wait for impulse when echotraining.
Waiting here for the impulse on the transmit can cause the echotraining logic to
stick the channel into muted state. This is especially apparent on systems
that regularly do not service the interrupts every millisecond. DAHDI-387.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7682 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/dahdi-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 13fb8b6..f9e3082 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -6887,7 +6887,7 @@ static inline void __dahdi_ec_chunk(struct dahdi_chan *ss, unsigned char *rxchun ss->ec_state->status.mode = ECHO_MODE_STARTTRAINING; } } - if ((ss->ec_state->status.mode == ECHO_MODE_AWAITINGECHO) && (txlin > 8000)) { + if (ss->ec_state->status.mode == ECHO_MODE_AWAITINGECHO) { ss->ec_state->status.last_train_tap = 0; ss->ec_state->status.mode = ECHO_MODE_TRAINING; } |