summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-08 16:11:38 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-09-08 16:11:38 +0000
commit3c7f3296b9918e0bc9013debe506c8d91edb4416 (patch)
tree1b83757a7fffe7edff6045834edd25a65e16368d /wct4xxp
parent39f41194962d9613b8f276c8e4259512ce2d23c5 (diff)
gotta pay closer attention before i commit this stuff...
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1438 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 13d8562..48f618d 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2726,7 +2726,7 @@ static void t4_vpm450_init(struct t4 *wc)
#ifdef HOTPLUG_FIRMWARE
release_firmware(firmware);
#endif
- if (vpmdtmfsupport<0){
+ if (vpmdtmfsupport == -1) {
printk("VPM450: hardware DTMF disabled.\n");
vpmdtmfsupport = 0;
}
@@ -2866,7 +2866,7 @@ static void t4_vpm400_init(struct t4 *wc)
t4_vpm_out(wc, x, i, (x < 4) ? 0x55 : 0xAA);
}
- if (vpmdtmfsupport<0){
+ if (vpmdtmfsupport == -1) {
printk("VPM400: hardware DTMF enabled.\n");
vpmdtmfsupport = 1;
}