diff options
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/xhfc.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/xhfc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/xhfc.c b/drivers/dahdi/wctdm24xxp/xhfc.c index c5eb5a6..bd82fb4 100644 --- a/drivers/dahdi/wctdm24xxp/xhfc.c +++ b/drivers/dahdi/wctdm24xxp/xhfc.c @@ -2150,7 +2150,9 @@ static int b400m_set_ntte(struct b400m_span *bspan, int te_mode, int term_on) int all_modes = 0, all_terms = 0; int i; - bspan->wspan->span.spantype = (te_mode > 0) ? "TE" : "NT"; + bspan->wspan->span.spantype = (te_mode > 0) + ? SPANTYPE_DIGITAL_BRI_TE + : SPANTYPE_DIGITAL_BRI_NT; bspan->te_mode = te_mode; bspan->term_on = term_on; |