summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-14 16:11:22 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-14 16:11:22 +0000
commit4cfe12909bf2d2a63919e9ba2abfbf9622a85af9 (patch)
tree69c044dd0b40367316a1825adcadc72c7086ad54 /wct4xxp
parent24a61b9c810fa598a3aff13356efb5116e9498f1 (diff)
Merged revisions 2308 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2308 | mattf | 2007-03-14 10:08:55 -0600 (Wed, 14 Mar 2007) | 10 lines Merged revisions 2307 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2307 | mattf | 2007-03-14 10:03:18 -0600 (Wed, 14 Mar 2007) | 2 lines Fix bug in J1 mode configuration. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2309 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 51a17d7..996f1bd 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -983,7 +983,7 @@ static void __set_clear(struct t4 *wc, int span)
struct t4_span *ts = wc->tspans[span];
oldnotclear = ts->notclear;
- if (ts->spantype == TYPE_T1) {
+ if ((ts->spantype == TYPE_T1) || (ts->spantype == TYPE_J1)) {
for (i=0;i<24;i++) {
j = (i/8);
if (ts->span.chans[i].flags & ZT_FLAG_CLEAR) {