From 3c7f3296b9918e0bc9013debe506c8d91edb4416 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 8 Sep 2006 16:11:38 +0000 Subject: 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 --- wct4xxp/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wct4xxp') 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; } -- cgit v1.2.3