summaryrefslogtreecommitdiff
path: root/drivers/isdn/mISDN/dsp.h
diff options
context:
space:
mode:
authorAndreas Eversberg <andreas@eversberg.eu>2009-05-22 11:04:58 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-05-25 07:55:47 (GMT)
commitb0579d7459aaa979b96016f3cac5e59fd3cb72b5 (patch)
tree7e1b7ccaba16c96dfc2bf3100920d6b182172697 /drivers/isdn/mISDN/dsp.h
parent8c90e11e3543d7de612194a042a148caeaab5f1d (diff)
downloadlinux-b0579d7459aaa979b96016f3cac5e59fd3cb72b5.tar.xz
mISDN: Fix DTMF detection enable/disable
DTMF detection was enabled when it was not supposed to. Signed-off-by: Andreas Eversberg <andreas@eversberg.eu> Signed-off-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN/dsp.h')
-rw-r--r--drivers/isdn/mISDN/dsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/mISDN/dsp.h b/drivers/isdn/mISDN/dsp.h
index 564ea3e..18af868 100644
--- a/drivers/isdn/mISDN/dsp.h
+++ b/drivers/isdn/mISDN/dsp.h
@@ -116,6 +116,7 @@ struct dsp_conf {
#define ECHOCAN_BUFF_MASK 0x3ff /* -1 */
struct dsp_dtmf {
+ int enable; /* dtmf is enabled */
int treshold; /* above this is dtmf (square of) */
int software; /* dtmf uses software decoding */
int hardware; /* dtmf uses hardware decoding */