diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:02:13 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:02:13 +0000 |
commit | 1e2247128f368a720d3bc93de531d13baff72eaa (patch) | |
tree | 6d7fb25144c6d9806b61d357ac245a6c7ea2f4a7 /drivers/dahdi/wcte12xp | |
parent | d301fe6fb22ed43d26ed3a10babb02186b56a864 (diff) |
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
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index fecf0e2..9cf659b 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -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) |