summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-08-27 21:59:27 +0000
committerShaun Ruffell <sruffell@digium.com>2010-08-27 21:59:27 +0000
commitadc2cf55119acf51026e0598f4d4719fe74515d9 (patch)
tree30141ad6f31802d2d9019525cd058dfc6dfbbfc7
parentf02d15b480f1eeee80b1911aa1314ebd65f19960 (diff)
wct4xxp: Removed transmit line open fault detection
The transmit line open detection was pretty weak in that it trips upon receiving 32 consecutive zeroes. We were getting false positives from looping and other miscellaneous functions. Removing this feature, but leaving the transmit line short detector as it actually detects physical shorts. From: Russ Meyerriecks <rmeyerriecks@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9204 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wct4xxp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index dcd1bd2..d4d066a 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -3218,8 +3218,8 @@ static void t4_check_alarms(struct t4 *wc, int span)
alarms |= DAHDI_ALARM_LMFA;
}
- /* Check to ensure the transformer isn't busted */
- if (unlikely((d & FRS1_XLO) || (d & FRS1_XLS))) {
+ /* Check to ensure the xmit line isn't shorted */
+ if (unlikely(d & FRS1_XLS)) {
dev_info(&wc->dev->dev,
"Detected a possible hardware malfunction"\
" this card may need servicing\n");