summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-09-15 20:49:31 +0000
committerShaun Ruffell <sruffell@digium.com>2008-09-15 20:49:31 +0000
commit641de465f19b1f26d24376e29df103f89ef66d1f (patch)
tree5c244da9231db9cf5b09622b87429c365cabac56 /drivers/dahdi/wctdm.c
parent4f28105f80e65312bf08bb8ea0b267b5971368e3 (diff)
Edit some comments and error strings.
Issue: DAHDI-13 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4909 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm.c')
-rw-r--r--drivers/dahdi/wctdm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/wctdm.c b/drivers/dahdi/wctdm.c
index eff29fb..5d4b05c 100644
--- a/drivers/dahdi/wctdm.c
+++ b/drivers/dahdi/wctdm.c
@@ -747,7 +747,7 @@ static inline void wctdm_voicedaa_check_hook(struct wctdm *wc, int card)
unsigned char res;
#endif
signed char b;
- int poopy = 0;
+ int errors = 0;
struct fxo *fxo = &wc->mod[card].fxo;
/* Try to track issues that plague slot one FXO's */
@@ -755,8 +755,8 @@ static inline void wctdm_voicedaa_check_hook(struct wctdm *wc, int card)
if ((b & 0x2) || !(b & 0x8)) {
/* Not good -- don't look at anything else */
if (debug)
- printk(KERN_DEBUG "Poopy (%02x) on card %d!\n", b, card + 1);
- poopy++;
+ printk(KERN_DEBUG "Error (%02x) on card %d!\n", b, card + 1);
+ errors++;
}
b &= 0x9b;
if (fxo->offhook) {
@@ -766,7 +766,7 @@ static inline void wctdm_voicedaa_check_hook(struct wctdm *wc, int card)
if (b != 0x8)
wctdm_setreg(wc, card, 5, 0x8);
}
- if (poopy)
+ if (errors)
return;
if (!fxo->offhook) {
if (fwringdetect) {