wcte12xp: Put "Span configured" message behind debug flag.

This message also duplicates what is in the /etc/dahdi/system.conf file
and should only be necessary when troubleshooting problems.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9948 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Shaun Ruffell
2011-06-02 20:02:13 +00:00
parent 578ebe85c2
commit 456e7969ee

View File

@@ -829,7 +829,8 @@ static void t1_configure_t1(struct t1 *wc, int lineconfig, int txlevel)
break;
}
t1_info(wc, "Span configured for %s/%s\n", framing, line);
if (debug)
t1_info(wc, "Span configured for %s/%s\n", framing, line);
}
static void t1_configure_e1(struct t1 *wc, int lineconfig)