[zaptel-commits] tzafrir: trunk r1399 - /trunk/xpp/card_fxs.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Mon Sep 4 17:15:16 MST 2006


Author: tzafrir
Date: Mon Sep  4 19:15:16 2006
New Revision: 1399

URL: http://svn.digium.com/view/zaptel?rev=1399&view=rev
Log:
Don't throw a SLIC_REPLY packet just because we're not registered yet.
Test for ring control and such will be done in update_line_status().

Modified:
    trunk/xpp/card_fxs.c

Modified: trunk/xpp/card_fxs.c
URL: http://svn.digium.com/view/zaptel/trunk/xpp/card_fxs.c?rev=1399&r1=1398&r2=1399&view=diff
==============================================================================
--- trunk/xpp/card_fxs.c (original)
+++ trunk/xpp/card_fxs.c Mon Sep  4 19:15:16 2006
@@ -800,8 +800,6 @@
 	spin_lock_irqsave(&xpd->lock, flags);
 	priv = xpd->priv;
 	BUG_ON(!priv);
-	if(!SPAN_REGISTERED(xpd))
-		goto out;
 #if 0
 	DBG("SLIC_REPLY: xpd #%d %s reg_num=0x%X, dataL=0x%X dataH=0x%X\n",
 			xpd->id, (info->indirect)?"I":"D",



More information about the zaptel-commits mailing list