[asterisk-commits] rmudgett: branch group/CCSS r244038 - /team/group/CCSS/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 28 20:29:11 CST 2010


Author: rmudgett
Date: Thu Jan 28 20:29:07 2010
New Revision: 244038

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244038
Log:
Put that unlock in dahdi_read() in the correct place.

Modified:
    team/group/CCSS/channels/chan_dahdi.c

Modified: team/group/CCSS/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_dahdi.c?view=diff&rev=244038&r1=244037&r2=244038
==============================================================================
--- team/group/CCSS/channels/chan_dahdi.c (original)
+++ team/group/CCSS/channels/chan_dahdi.c Thu Jan 28 20:29:07 2010
@@ -8157,8 +8157,8 @@
 			monitor_type = dahdi_cc_is_possible(p->owner, device_name);
 			if (monitor_type
 				&& !ast_cc_build_frame(p->owner, p->cc_params, monitor_type, device_name, p->dialstring, AST_CC_CCNR, &p->subs[idx].f)) {
+				p->subs[idx].ccframesent = 1;
 				ast_mutex_unlock(&p->lock);
-				p->subs[idx].ccframesent = 1;
 				return &p->subs[idx].f;
 			}
 			/*




More information about the asterisk-commits mailing list