summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-31 20:55:08 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-31 20:55:08 +0000
commitfa00a36576052d65423d8742186917649828d70e (patch)
tree45021c46f005d09d1760296ed830e60b962d9c69 /drivers/dahdi/wcb4xxp
parentb474b2743e9ced7315cc34dfcad95f37fbc55f92 (diff)
wcb4xxp: Claim to provide DACS for dahdi_scan
dahdi_scan can tell that a span is digital if its first channel has DACS signalling capability. While this is probably not supported by the current driver, it is also harmless. Without this, dahdi_scan shows the spans of this card as analog. (Done after consulting with sruffel) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5190 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp')
-rw-r--r--drivers/dahdi/wcb4xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wcb4xxp/base.c b/drivers/dahdi/wcb4xxp/base.c
index 9c959eb..91db7b3 100644
--- a/drivers/dahdi/wcb4xxp/base.c
+++ b/drivers/dahdi/wcb4xxp/base.c
@@ -2119,7 +2119,7 @@ static void init_spans(struct b4xxp *b4)
if(j == WCB4XXP_CHANNELS_PER_SPAN - 1) {
chan->sigcap = DAHDI_SIG_HARDHDLC;
} else {
- chan->sigcap = DAHDI_SIG_CLEAR;
+ chan->sigcap = DAHDI_SIG_CLEAR | DAHDI_SIG_DACS;
}
chan->chanpos = j + 1;
chan->writechunk = (void *)(bspan->writechunk + j * DAHDI_CHUNKSIZE);