summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwct4xxp.c4
-rwxr-xr-xzaptel.c1
2 files changed, 3 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)
diff --git a/zaptel.c b/zaptel.c
index c9b9fa2..f56981e 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -2566,6 +2566,7 @@ static int zt_timer_ioctl(struct inode *node, struct file *file, unsigned int cm
case ZT_TIMERPING:
spin_lock_irqsave(&zaptimerlock, flags);
timer->ping = 1;
+ wake_up_interruptible(&timer->sel);
spin_unlock_irqrestore(&zaptimerlock, flags);
break;
case ZT_TIMERPONG: