summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerreicks@digium.com>2010-03-05 19:37:14 +0000
committerRuss Meyerriecks <rmeyerreicks@digium.com>2010-03-05 19:37:14 +0000
commit2c722eb3f844cb3365079d76dd63204572e07c60 (patch)
tree643fe1cfcb1eb218f1c1d55386cf7c9c5a50e963
parent9acc83bafd5a69154c32a87d64c66521a4f18295 (diff)
wct4xxp: Fixed inability to disable network payload looping
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8255 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wct4xxp/base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index 9994f02..116b0e3 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -1473,6 +1473,10 @@ static int t4_maint(struct dahdi_span *span, int cmd)
t4_framer_out(wc, span->offset, LCR1_T,
(reg & ~(XPRBS | EPRM)));
+ reg = t4_framer_in(wc, span->offset, FMR2_T);
+ t4_framer_out(wc, span->offset, FMR2_T,
+ (reg & ~FMR2_PLB));
+
span->mainttimer = 0;
break;
case DAHDI_MAINT_LOCALLOOP: