diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-04-03 00:03:58 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-04-03 00:03:58 +0000 |
commit | 6ab7988dbd6f5cf378688fb388ddc92db42696d5 (patch) | |
tree | e9d7793c68e3c0e9d97607d7dcee4001ac4684cf /drivers/dahdi/wcte12xp | |
parent | 31f168cfe0702fabd3950bc84057bbc4aacc2956 (diff) |
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
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |