[dahdi-commits] sruffell: linux/trunk r5384 - /linux/trunk/drivers/dahdi/

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Tue Nov 25 14:00:52 CST 2008


Author: sruffell
Date: Tue Nov 25 14:00:51 2008
New Revision: 5384

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5384
Log:
Validate the timing priority on the wcte11xp and wct1xxp driver.

Modified:
    linux/trunk/drivers/dahdi/wct1xxp.c
    linux/trunk/drivers/dahdi/wcte11xp.c

Modified: linux/trunk/drivers/dahdi/wct1xxp.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wct1xxp.c?view=diff&rev=5384&r1=5383&r2=5384
==============================================================================
--- linux/trunk/drivers/dahdi/wct1xxp.c (original)
+++ linux/trunk/drivers/dahdi/wct1xxp.c Tue Nov 25 14:00:51 2008
@@ -733,7 +733,7 @@
 	struct t1xxp *wc = span->pvt;
 
 	/* Do we want to SYNC on receive or not */
-	wc->sync = lc->sync;
+	wc->sync = (lc->sync) ? 1 : 0;
 	/* If already running, apply changes immediately */
 	if (span->flags & DAHDI_FLAG_RUNNING)
 		return t1xxp_startup(span);

Modified: linux/trunk/drivers/dahdi/wcte11xp.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wcte11xp.c?view=diff&rev=5384&r1=5383&r2=5384
==============================================================================
--- linux/trunk/drivers/dahdi/wcte11xp.c (original)
+++ linux/trunk/drivers/dahdi/wcte11xp.c Tue Nov 25 14:00:51 2008
@@ -944,7 +944,7 @@
 	struct t1 *wc = span->pvt;
 
 	/* Do we want to SYNC on receive or not */
-	wc->sync = lc->sync;
+	wc->sync = (lc->sync) ? 1 : 0;
 	/* If already running, apply changes immediately */
 	if (span->flags & DAHDI_FLAG_RUNNING)
 		return t1xxp_startup(span);




More information about the dahdi-commits mailing list