summaryrefslogtreecommitdiff
path: root/wct4xxp.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-03-19 04:44:03 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-03-19 04:44:03 +0000
commit304c2d8ffdf25203392d5f934f8fedc3ec1759da (patch)
treecf369f4f25d1d4f8fbd5ccb451bffbec357e7bcf /wct4xxp.c
parent5704d6f9a25a86b04569f943be1469e11aceb0f8 (diff)
Fix typo in T4 driver, and wake up on ping
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@327 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-xwct4xxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 62d3304..474e70f 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -649,7 +649,7 @@ static void t4_set_timing_source(struct t4 *wc, int unit)
static void t4_set_timing_source_auto(struct t4 *wc)
{
- int qual, x;
+ int x;
for (x=0;x<4;x++) {
if (wc->syncs[x]) {
if ((wc->spans[wc->syncs[x] - 1].flags & ZT_FLAG_RUNNING) &&
@@ -660,7 +660,7 @@ static void t4_set_timing_source_auto(struct t4 *wc)
}
}
}
- t4_set_timing_souce(wc, 4);
+ t4_set_timing_source(wc, 4);
}
static void __t4_configure_t1(struct t4 *wc, int unit, int lineconfig, int txlevel)