[dahdi-commits] tzafrir: linux/trunk r9716 - /linux/trunk/drivers/dahdi/xpp/card_pri.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Sun Jan 30 12:32:20 CST 2011
Author: tzafrir
Date: Sun Jan 30 12:32:16 2011
New Revision: 9716
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9716
Log:
xpd_pri: reorder debug messages
Move priv->layer1_up debug message after priv->is_cas debug message.
Otherwise, we get extra meaningless debug message.
Signed-off-by: Oron Peled <oron at actcom.co.il>
Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
linux/trunk/drivers/dahdi/xpp/card_pri.c
Modified: linux/trunk/drivers/dahdi/xpp/card_pri.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/card_pri.c?view=diff&rev=9716&r1=9715&r2=9716
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_pri.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_pri.c Sun Jan 30 12:32:16 2011
@@ -1690,9 +1690,6 @@
pos = chan->chanpos - 1;
priv = xpd->priv;
BUG_ON(!priv);
- if(!priv->layer1_up) {
- XPD_DBG(SIGNAL, xpd, "RBS: TX: No layer1 yet. Keep going.\n");
- }
if(!priv->is_cas) {
XPD_DBG(SIGNAL, xpd, "RBS: TX: not in CAS mode. Ignore.\n");
return 0;
@@ -1702,6 +1699,9 @@
"RBS: TX: sigtyp=%s. , bits=0x%X. Ignore.\n",
sig2str(chan->sig), bits);
return 0;
+ }
+ if(!priv->layer1_up) {
+ XPD_DBG(SIGNAL, xpd, "RBS: TX: No layer1 yet. Keep going.\n");
}
if(priv->pri_protocol == PRI_PROTO_E1) {
if(encode_rbsbits_e1(xpd, pos, bits) < 0)
More information about the dahdi-commits
mailing list