From 666e40e1228387790e04b77909b47a79147d8c4b Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Mon, 6 Oct 2008 16:55:37 +0000 Subject: Fix a few compile errors that only show up when CONFIG_DAHDI_PPP is defined. (closes issue #13608) Reported by: Nik Soggia Fix suggested by: Nik Soggia Tested by: seanbright git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5056 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/dahdi-base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/dahdi') diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 8066636..b58d47e 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -1807,7 +1807,7 @@ static int dahdi_ppp_xmit(struct ppp_channel *ppp, struct sk_buff *skb) some space for us */ ss->outwritebuf = oldbuf; } - print_debug_writebuf(ss, skb, outbuf); + print_debug_writebuf(ss, skb, oldbuf); retval = 1; } spin_unlock_irqrestore(&ss->lock, flags); @@ -5011,7 +5011,7 @@ static int dahdi_chan_ioctl(struct inode *inode, struct file *file, unsigned int hw_echocancel_off(chan); if (tec) - chan->ec->echo_can_free(tec); + chan->ec_current->echo_can_free(tec); } else return -ENOMEM; } -- cgit v1.2.3