summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-14 16:08:55 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-14 16:08:55 +0000
commit9ee603ac6792d409bb98020e3986c5d27703afe9 (patch)
tree513b3fbae41b8cbac1d0fe7fe8f8056e88ddf82b /wct4xxp
parentea526d4c20716bf7095f29c0df45ed911c9df5d3 (diff)
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/branches/1.4@2308 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 b48dacb..9b86342 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -977,7 +977,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) {