From 456e7969ee7d317c41a5ff34a7a8241d8c758eb6 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 2 Jun 2011 20:02:13 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9948 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcte12xp/base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)