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/wctdm24xxp/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/wctdm24xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index e55c53b..97d77d2 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -592,9 +592,6 @@ static inline void cmd_dequeue_vpmadt032(struct wctdm *wc, u8 *writechunk, int w writechunk[CMD_BYTE(27, 1, 0)] = 0; writechunk[CMD_BYTE(27, 2, 0)] = 0; } - if (is_cmd_write(curcmd)) - kfree(curcmd); - } else if (test_and_clear_bit(VPM150M_SWRESET, &vpmadt032->control)) { for (x = 24; x < 28; x++) { if (x == 24) |