diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-04-03 18:10:27 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-04-03 18:10:27 +0000 |
commit | 6f86327a3541c1c3706c4d46c4412647ff77a540 (patch) | |
tree | 955b82d3a1833d1929714ddea3f9b2984d9a17c1 /drivers/dahdi/wcte12xp/base.c | |
parent | cebcd751ed0330235cf833a41460a6b9f48efb8c (diff) |
wcte12xp, wtdm24xxp: Make sure the writes are retried.
r8454 and r8460 introduced a change where writes are not retried when other
module/framer commands are retried. This was an error and wasn't what was
actually under test. This commit restores the behavior in wctdm24xxp and
makes sure the vpm writes are retried in the wcte12xp.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8461 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/base.c')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index 7645634..77d72c5 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -503,9 +503,6 @@ static void cmd_dequeue_vpmadt032(struct t1 *wc, unsigned char *writechunk, int writechunk[CMD_BYTE(4, 1, 1)] = 0; writechunk[CMD_BYTE(4, 2, 1)] = 0; } - if (is_cmd_write(cmd)) - kfree(cmd); - } else if (test_and_clear_bit(VPM150M_SWRESET, &vpm->control)) { for (x = 0; x < 7; x++) { if (0 == x) { |