[dahdi-commits] rmeyerriecks: branch linux/mspiceland/dahdi-qfalc31 r7777 - /linux/team/mspic...

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri Jan 8 09:56:52 CST 2010


Author: rmeyerriecks
Date: Fri Jan  8 09:56:49 2010
New Revision: 7777

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7777
Log:
wct4xxp: Fixing a minor bug in the timing code logic. Removing unused logic.


Modified:
    linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c

Modified: linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c?view=diff&rev=7777&r1=7776&r2=7777
==============================================================================
--- linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c Fri Jan  8 09:56:49 2010
@@ -1917,7 +1917,7 @@
 					   timing mode */
 					if (firstprio == 4)
 						firstprio = x;
-					else if (wc->tspans[x]->syncpos >
+					else if (wc->tspans[x]->syncpos <
 						wc->tspans[firstprio]->syncpos)
 						firstprio = x;
 				} else {
@@ -1925,10 +1925,6 @@
 					   mode */
 					if (secondprio == 4)
 						secondprio = x;
-					else if (wc->tspans[x]->syncpos >
-						wc->tspans[secondprio]->syncpos)
-						secondprio = x;
-
 				}
 			}
 		}




More information about the dahdi-commits mailing list