summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2008-10-06 16:55:37 +0000
committerSean Bright <sean@malleable.com>2008-10-06 16:55:37 +0000
commit666e40e1228387790e04b77909b47a79147d8c4b (patch)
tree17e5c8f23ce30b53551e3074ca71b35f05e77a84 /drivers
parent070bad80e404b10ef7a3b73ffcfa5cb3ca51081f (diff)
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dahdi/dahdi-base.c4
1 files changed, 2 insertions, 2 deletions
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;
}