[svn-commits] tzafrir: linux/trunk r8892 - /linux/trunk/drivers/dahdi/xpp/card_pri.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 13 07:06:01 CDT 2010


Author: tzafrir
Date: Tue Jul 13 07:05:58 2010
New Revision: 8892

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8892
Log:
don't send "duplicates" in E1 as in D4

Make sure we only consider T1-s to be potentially D4 (which requires
sending the bits twice). This fixes occasional command-queue floods in
E1 CAS.

Modified:
    linux/trunk/drivers/dahdi/xpp/card_pri.c

Modified: linux/trunk/drivers/dahdi/xpp/card_pri.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/card_pri.c?view=diff&rev=8892&r1=8891&r2=8892
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_pri.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_pri.c Tue Jul 13 07:05:58 2010
@@ -471,7 +471,7 @@
 
 	BUG_ON(!xpd);
 	priv = xpd->priv;
-	if (priv->pri_protocol && !priv->is_esf) {
+	if ((priv->pri_protocol == PRI_PROTO_T1) && !priv->is_esf) {
 		/* same data should be copied to RS7..12 in D4 only */
 		is_d4 = 1;
 	}




More information about the svn-commits mailing list