[dahdi-commits] sruffell: linux/trunk r7097 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Sep 7 16:40:30 CDT 2009
Author: sruffell
Date: Mon Sep 7 16:40:29 2009
New Revision: 7097
URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7097
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/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=7097&r1=7096&r2=7097
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Sep 7 16:40:29 2009
@@ -2345,7 +2345,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 dahdi-commits
mailing list