summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 132018a..1f20176 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -798,12 +798,9 @@ static int dahdi_proc_read(char *page, char **start, off_t off, int count, int *
chan->chan_alarms);
if (chan->ec_factory)
- len += snprintf(page+len, count-len, "(ECTYPE: %s) ",
- chan->ec_factory->name);
-
- if (chan->ec_state)
- len += snprintf(page+len, count-len, "(EC: %s) ",
- chan->ec_state->ops->name);
+ len += snprintf(page+len, count-len, "(EC: %s - %s) ",
+ chan->ec_factory->name,
+ chan->ec_state ? "ACTIVE" : "INACTIVE");
len += snprintf(page+len, count-len, "\n");