X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fisdn%2FmISDN%2Fdsp_dtmf.c;h=9ae2d33b06f7c5a819157d20bfce9ad5d81bca19;hb=492b057c426e4aa747484958e18e9da29003985d;hp=efc371c1f0dc02a6f86d4f146fe348051aa111ab;hpb=15dd859cacf312f606f54502d1f66537a1e5c78c;p=pandora-kernel.git diff --git a/drivers/isdn/mISDN/dsp_dtmf.c b/drivers/isdn/mISDN/dsp_dtmf.c index efc371c1f0dc..9ae2d33b06f7 100644 --- a/drivers/isdn/mISDN/dsp_dtmf.c +++ b/drivers/isdn/mISDN/dsp_dtmf.c @@ -51,6 +51,9 @@ void dsp_dtmf_hardware(struct dsp *dsp) { int hardware = 1; + if (!dsp->dtmf.enable) + return; + if (!dsp->features.hfc_dtmf) hardware = 0;