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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 13 19:46:36 CDT 2009


Author: sruffell
Date: Thu Aug 13 19:46:28 2009
New Revision: 7004

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7004
Log:
dahdi-base: Add comment to explain why rxhooksig is reset on span start.

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=7004&r1=7003&r2=7004
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Thu Aug 13 19:46:28 2009
@@ -3925,6 +3925,13 @@
 				spin_lock_irqsave(&spans[j]->chans[x]->lock, flags);
 				dahdi_hangup(spans[j]->chans[x]);
 				spin_unlock_irqrestore(&spans[j]->chans[x]->lock, flags);
+				/*
+				 * Set the rxhooksig back to
+				 * DAHDI_RXSIG_INITIAL so that new events are
+				 * queued on the channel with the actual
+				 * recieved hook state.
+				 * 
+				 */
 				spans[j]->chans[x]->rxhooksig = DAHDI_RXSIG_INITIAL;
 			}
 		}




More information about the svn-commits mailing list