[svn-commits] rmudgett: mISDN/trunk r93 - /mISDN/trunk/drivers/isdn/hardware/mISDN/layer2.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 9 14:06:43 CDT 2009


Author: rmudgett
Date: Thu Apr  9 14:06:40 2009
New Revision: 93

URL: http://svn.digium.com/svn-view/thirdparty?view=rev&rev=93
Log:
Added Q.921 L2 state name comments to L2 state definitions.

Modified:
    mISDN/trunk/drivers/isdn/hardware/mISDN/layer2.c

Modified: mISDN/trunk/drivers/isdn/hardware/mISDN/layer2.c
URL: http://svn.digium.com/svn-view/thirdparty/mISDN/trunk/drivers/isdn/hardware/mISDN/layer2.c?view=diff&rev=93&r1=92&r2=93
==============================================================================
--- mISDN/trunk/drivers/isdn/hardware/mISDN/layer2.c (original)
+++ mISDN/trunk/drivers/isdn/hardware/mISDN/layer2.c Thu Apr  9 14:06:40 2009
@@ -22,14 +22,14 @@
 struct Fsm l2fsm = {NULL, 0, 0, NULL, NULL};
 
 enum {
-	ST_L2_1,
-	ST_L2_2,
-	ST_L2_3,
-	ST_L2_4,
-	ST_L2_5,
-	ST_L2_6,
-	ST_L2_7,
-	ST_L2_8,
+	ST_L2_1, /* TEI unassigned. */
+	ST_L2_2, /* Assign awaiting TEI. */
+	ST_L2_3, /* Establish awaiting TEI. */
+	ST_L2_4, /* TEI assigned. */
+	ST_L2_5, /* Awaiting establishment. */
+	ST_L2_6, /* Awaiting release. */
+	ST_L2_7, /* Multiple frame established. */
+	ST_L2_8, /* Timer recovery. */
 };
 
 #define L2_STATE_COUNT (ST_L2_8+1)




More information about the svn-commits mailing list