[svn-commits] sruffell: linux/trunk r10330 - /linux/trunk/drivers/dahdi/dahdi-base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 7 16:40:14 CST 2011


Author: sruffell
Date: Mon Nov  7 16:40:11 2011
New Revision: 10330

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10330
Log:
dahdi: Fix typo in previous commit which forced some spans to always fail assignment.

I misssed a small typo in r10328 "Extra debugging aids and messages" that
would force any span that supports a hardware preechocan to always fail
assignment with -EFAULT.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=10330&r1=10329&r2=10330
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Nov  7 16:40:11 2011
@@ -6884,10 +6884,11 @@
 	if (span->ops->enable_hw_preechocan ||
 	    span->ops->disable_hw_preechocan) {
 		if ((NULL == span->ops->enable_hw_preechocan) ||
-		    (NULL == span->ops->disable_hw_preechocan))
+		    (NULL == span->ops->disable_hw_preechocan)) {
 			dev_notice(span->parent->dev.parent,
 				"span with inconsistent enable/disable hw_preechocan");
 			return -EFAULT;
+		}
 	}
 
 	if (!span->deflaw) {




More information about the svn-commits mailing list