[svn-commits] sruffell: branch linux/sruffell/dahdi-linux-chainedvb r7105 - /linux/team/sru...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Sep 9 01:13:16 CDT 2009
Author: sruffell
Date: Wed Sep 9 01:13:14 2009
New Revision: 7105
URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7105
Log:
dahdi-base: Fix flag check in dahdi_rbs_sethook.
As long as any of the flags were set, this check would have always
passed.
Modified:
linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/dahdi-base.c
Modified: linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/dahdi-base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/dahdi-base.c?view=diff&rev=7105&r1=7104&r2=7105
==============================================================================
--- linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/dahdi-base.c Wed Sep 9 01:13:14 2009
@@ -2341,7 +2341,7 @@
if (!chan->span)
return;
- if (!chan->span->flags & DAHDI_FLAG_RBS) {
+ if (!(chan->span->flags & DAHDI_FLAG_RBS)) {
module_printk(KERN_NOTICE, "dahdi_rbs: Tried to set RBS hook state on non-RBS channel %s\n", chan->name);
return;
}
More information about the svn-commits
mailing list