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@actcom.co.il> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9716 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
63ccf9b7da
commit
c814b79abe
@ -1690,9 +1690,6 @@ static int pri_rbsbits(struct dahdi_chan *chan, int bits)
|
||||
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;
|
||||
@ -1703,6 +1700,9 @@ static int pri_rbsbits(struct dahdi_chan *chan, int bits)
|
||||
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)
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user