summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-05 03:24:43 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-05 03:24:43 +0000
commitbc33447d7bc5a894a9845d2a53cc5778474d5278 (patch)
tree5188a4f735598942755fab81aa0e18c871df8030 /tor2.c
parent4397dde199c2f4fee3db7b786f25222dafe6ba2e (diff)
the previous addition of fields to zt_spaninfo added an 'lbo' field, but none of the drivers for digital cards actually populate that field... this is now corrected
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3317 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'tor2.c')
-rw-r--r--tor2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tor2.c b/tor2.c
index e3350e6..4e10b12 100644
--- a/tor2.c
+++ b/tor2.c
@@ -204,6 +204,7 @@ static int tor2_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
printk("Tor2: Configuring span %d\n", span->spanno);
/* XXX We assume lineconfig is okay and shouldn't XXX */
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
span->syncsrc = p->tor->syncsrc;