diff options
Diffstat (limited to 'drivers/isdn/mISDN/dsp_core.c')
-rw-r--r-- | drivers/isdn/mISDN/dsp_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c index c35750647c66..c12cd2f94254 100644 --- a/drivers/isdn/mISDN/dsp_core.c +++ b/drivers/isdn/mISDN/dsp_core.c | |||
@@ -306,6 +306,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) | |||
306 | "to %d\n", *((int *)data)); | 306 | "to %d\n", *((int *)data)); |
307 | dsp->dtmf.treshold = (*(int *)data) * 10000; | 307 | dsp->dtmf.treshold = (*(int *)data) * 10000; |
308 | } | 308 | } |
309 | dsp->dtmf.enable = 1; | ||
309 | /* init goertzel */ | 310 | /* init goertzel */ |
310 | dsp_dtmf_goertzel_init(dsp); | 311 | dsp_dtmf_goertzel_init(dsp); |
311 | 312 | ||
@@ -316,6 +317,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) | |||
316 | case DTMF_TONE_STOP: /* turn off DTMF */ | 317 | case DTMF_TONE_STOP: /* turn off DTMF */ |
317 | if (dsp_debug & DEBUG_DSP_CORE) | 318 | if (dsp_debug & DEBUG_DSP_CORE) |
318 | printk(KERN_DEBUG "%s: stop dtmf\n", __func__); | 319 | printk(KERN_DEBUG "%s: stop dtmf\n", __func__); |
320 | dsp->dtmf.enable = 0; | ||
319 | dsp->dtmf.hardware = 0; | 321 | dsp->dtmf.hardware = 0; |
320 | dsp->dtmf.software = 0; | 322 | dsp->dtmf.software = 0; |
321 | break; | 323 | break; |