summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zaptel-base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zaptel-base.c b/zaptel-base.c
index 304e3e0..23d1943 100644
--- a/zaptel-base.c
+++ b/zaptel-base.c
@@ -4521,6 +4521,7 @@ static int zt_chan_ioctl(struct inode *inode, struct file *file, unsigned int cm
if (!chan->ppp) {
chan->ppp = kmalloc(sizeof(struct ppp_channel), GFP_KERNEL);
if (chan->ppp) {
+ struct echo_can_state *tec;
memset(chan->ppp, 0, sizeof(struct ppp_channel));
chan->ppp->private = chan;
chan->ppp->ops = &ztppp_ops;