summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi_echocan_mg2.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-09-28 06:43:51 +0000
committerShaun Ruffell <sruffell@digium.com>2008-09-28 06:43:51 +0000
commit3f44790f59655ed49faf53ddc11d63962610dc93 (patch)
tree7fd2a5afe48a45c291739412ed511ddfa17169b0 /drivers/dahdi/dahdi_echocan_mg2.c
parent7b4e5881b96518412358e69bb55221d05dace944 (diff)
Fixes failure of modular echo cancelers in DAHDI.
Reported by lots of people, fix suggested by mattf. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5002 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_echocan_mg2.c')
-rw-r--r--drivers/dahdi/dahdi_echocan_mg2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi_echocan_mg2.c b/drivers/dahdi/dahdi_echocan_mg2.c
index c73001d..b365f78 100644
--- a/drivers/dahdi/dahdi_echocan_mg2.c
+++ b/drivers/dahdi/dahdi_echocan_mg2.c
@@ -728,6 +728,7 @@ static void echo_can_update(struct echo_can_state *ec, short *iref, short *isig)
for (x = 0; x < DAHDI_CHUNKSIZE; x++) {
result = sample_update(ec, *iref, *isig);
*isig++ = result;
+ ++iref;
}
}