diff options
Diffstat (limited to 'drivers/isdn/hardware/avm/b1dma.c')
-rw-r--r-- | drivers/isdn/hardware/avm/b1dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/avm/b1dma.c b/drivers/isdn/hardware/avm/b1dma.c index 1e2d38e3d68c..428872b653e9 100644 --- a/drivers/isdn/hardware/avm/b1dma.c +++ b/drivers/isdn/hardware/avm/b1dma.c | |||
@@ -404,7 +404,8 @@ static void b1dma_dispatch_tx(avmcard *card) | |||
404 | printk(KERN_DEBUG "tx: put 0x%x len=%d\n", | 404 | printk(KERN_DEBUG "tx: put 0x%x len=%d\n", |
405 | skb->data[2], txlen); | 405 | skb->data[2], txlen); |
406 | #endif | 406 | #endif |
407 | memcpy(dma->sendbuf.dmabuf, skb->data+2, skb->len-2); | 407 | skb_copy_from_linear_data_offset(skb, 2, dma->sendbuf.dmabuf, |
408 | skb->len - 2); | ||
408 | } | 409 | } |
409 | txlen = (txlen + 3) & ~3; | 410 | txlen = (txlen + 3) & ~3; |
410 | 411 | ||