[svn-commits] sruffell: branch linux/sruffell/dahdi-linux-wctc4xxp r8527 - /linux/team/sruf...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Apr 14 15:16:27 CDT 2010


Author: sruffell
Date: Wed Apr 14 15:16:26 2010
New Revision: 8527

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8527
Log:
wctc4xxp-squash: Fix logic error.

Modified:
    linux/team/sruffell/dahdi-linux-wctc4xxp/drivers/dahdi/wctc4xxp/base.c

Modified: linux/team/sruffell/dahdi-linux-wctc4xxp/drivers/dahdi/wctc4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/sruffell/dahdi-linux-wctc4xxp/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=8527&r1=8526&r2=8527
==============================================================================
--- linux/team/sruffell/dahdi-linux-wctc4xxp/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/team/sruffell/dahdi-linux-wctc4xxp/drivers/dahdi/wctc4xxp/base.c Wed Apr 14 15:16:26 2010
@@ -2071,7 +2071,7 @@
 					sizeof(struct rtphdr) -
 					sizeof(struct udphdr);
 
-		if ((count + returned_bytes) < payload_bytes) {
+		if (count < (payload_bytes + returned_bytes)) {
 			if (returned_bytes) {
 				/* If we have already returned at least one
 				 * packets worth of data, we'll add this next




More information about the svn-commits mailing list