summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-06-01 21:20:31 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-06-01 21:20:31 +0000
commit3ea552d0af86a00f6c87c541f2cc3f2d601be70e (patch)
tree0eb0559a8583b9e4f99e7433b828a5e945dbf5b1
parent8da2d1eb14e1a27ec44fb2d6d3693779376e6fc3 (diff)
More non-workq fixes
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@661 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwct4xxp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 3be0ba4..0fe9ca2 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -1567,9 +1567,9 @@ static void t4_prep_gen2(struct t4 *wc)
{
int x;
for (x=0;x<4;x++) {
- if (wc->spans[x].flags & ZT_FLAG_RUNNING) {
- __receive_span(wc, x);
- __transmit_span(wc, x);
+ if (wc->tspans[x]->span.flags & ZT_FLAG_RUNNING) {
+ __receive_span(wc->tspans[x]);
+ __transmit_span(wc->tspans[x]);
}
}
}