From 6ab7988dbd6f5cf378688fb388ddc92db42696d5 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Sat, 3 Apr 2010 00:03:58 +0000 Subject: wcte12xp: Resend both framer and VPM commands when reads may have been lost. Latency conditions could cause the driver to misconfigure the VPM which would result in one way audio. DAHDI-572. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8454 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcte12xp/base.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/dahdi/wcte12xp/base.c') diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index b63c6dc..294a0f8 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -150,6 +150,8 @@ static void resend_cmds(struct t1 *wc) spin_lock_irqsave(&wc->cmd_list_lock, flags); list_splice_init(&wc->active_cmds, &wc->pending_cmds); spin_unlock_irqrestore(&wc->cmd_list_lock, flags); + if (wc->vpmadt032) + vpmadt032_resend(wc->vpmadt032); } static void cmd_dequeue(struct t1 *wc, unsigned char *writechunk, int eframe, int slot) -- cgit v1.2.3