diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-13 12:05:58 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-13 12:05:58 +0000 |
commit | 69c08029b6c9f6e1c5a37a3650cccf9df77aa7a0 (patch) | |
tree | aea28cc5ba47e4344ffc49f2e3725c97c089c156 /drivers/dahdi/xpp | |
parent | 3d27a2a9b7ad59a8dd56f6d50b265c09214e01d9 (diff) |
don't send "duplicates" in E1 as in D4
Make sure we only consider T1-s to be potentially D4 (which requires
sending the bits twice). This fixes occasional command-queue floods in
E1 CAS.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8892 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp')
-rw-r--r-- | drivers/dahdi/xpp/card_pri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/card_pri.c b/drivers/dahdi/xpp/card_pri.c index b3c9f8a..5a8f2cd 100644 --- a/drivers/dahdi/xpp/card_pri.c +++ b/drivers/dahdi/xpp/card_pri.c @@ -471,7 +471,7 @@ static int write_cas_reg(xpd_t *xpd, int rsnum, byte val) BUG_ON(!xpd); priv = xpd->priv; - if (priv->pri_protocol && !priv->is_esf) { + if ((priv->pri_protocol == PRI_PROTO_T1) && !priv->is_esf) { /* same data should be copied to RS7..12 in D4 only */ is_d4 = 1; } |