summaryrefslogtreecommitdiff
path: root/wcusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcusb.c')
-rw-r--r--wcusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcusb.c b/wcusb.c
index c2b5582..615d4c0 100644
--- a/wcusb.c
+++ b/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(digit, 0);
+ d->tone = zt_dtmf_tone(&p->chan, digit);
if (!d->tone) {
printk("wcusb: Didn't get a tone structure\n");
goto func_end;