summaryrefslogtreecommitdiff
path: root/kernel/wcusb.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-21 23:30:41 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-21 23:30:41 +0000
commit57544543646a83e92555be35b6096928d41b721e (patch)
tree9bbfb63133ea8454d6968122a860a68ca46577fd /kernel/wcusb.c
parent9b0ddb179b1216d03a2d0e7d884342fbef2246a0 (diff)
add MF R2 tone generation, and along the way do a lot of cleanup of the tone building and playback code
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4063 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/wcusb.c')
-rw-r--r--kernel/wcusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/wcusb.c b/kernel/wcusb.c
index 51eaca7..15205a4 100644
--- a/kernel/wcusb.c
+++ b/kernel/wcusb.c
@@ -393,7 +393,7 @@ loop_start:
}
if (debug) printk("wcusb: got digit %d\n", d->scanned_event);
if (digit != 'z') {
- d->tone = zt_dtmf_tone(&p->chan, digit);
+ d->tone = zt_mf_tone(&p->chan, digit, p->chan.digitmode);
if (!d->tone) {
printk("wcusb: Didn't get a tone structure\n");
goto func_end;