[Asterisk-cvs] zaptel wct4xxp.c,1.19,1.20 zaptel.c,1.62,1.63

markster at lists.digium.com markster at lists.digium.com
Thu Mar 18 23:48:54 CST 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv2408

Modified Files:
	wct4xxp.c zaptel.c 
Log Message:
Fix typo in T4 driver, and wake up on ping


Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- wct4xxp.c	18 Mar 2004 17:40:58 -0000	1.19
+++ wct4xxp.c	19 Mar 2004 04:44:03 -0000	1.20
@@ -649,7 +649,7 @@
 
 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 @@
 			}
 		}
 	}
-	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)

Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- zaptel.c	19 Mar 2004 04:03:05 -0000	1.62
+++ zaptel.c	19 Mar 2004 04:44:03 -0000	1.63
@@ -2566,6 +2566,7 @@
 	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:




More information about the svn-commits mailing list