diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-10-31 22:23:52 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-10-31 22:23:52 +0000 |
commit | 4150482ea6d21936d14bc97e40626c62364d2308 (patch) | |
tree | c15081bb952052f461da9ee2bd700e66dea5aa01 /drivers/dahdi/wcb4xxp | |
parent | 9c3e5b7992d64c986aa901af349ff06bd89dd30d (diff) |
Changing the spantype to indicate whether it is a TE or NT BRI port.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5196 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp')
-rw-r--r-- | drivers/dahdi/wcb4xxp/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wcb4xxp/base.c b/drivers/dahdi/wcb4xxp/base.c index 57aeabc..72f47f6 100644 --- a/drivers/dahdi/wcb4xxp/base.c +++ b/drivers/dahdi/wcb4xxp/base.c @@ -2094,7 +2094,7 @@ static void init_spans(struct b4xxp *b4) bspan->span.irq = b4->pdev->irq; bspan->span.pvt = bspan; - bspan->span.spantype = "BRI"; + bspan->span.spantype = (bspan->te_mode) ? "TE" : "NT"; bspan->span.offset = i; bspan->span.channels = WCB4XXP_CHANNELS_PER_SPAN; bspan->span.flags = 0; |