diff options
-rw-r--r-- | drivers/net/pasemi_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index b297a67d2fbe..b2861e0df86c 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c | |||
@@ -396,7 +396,7 @@ static void pasemi_mac_replenish_rx_ring(struct net_device *dev, int limit) | |||
396 | if (unlikely(!skb)) | 396 | if (unlikely(!skb)) |
397 | break; | 397 | break; |
398 | 398 | ||
399 | dma = pci_map_single(mac->dma_pdev, skb->data, skb->len, | 399 | dma = pci_map_single(mac->dma_pdev, skb->data, BUF_SIZE, |
400 | PCI_DMA_FROMDEVICE); | 400 | PCI_DMA_FROMDEVICE); |
401 | 401 | ||
402 | if (unlikely(dma_mapping_error(dma))) { | 402 | if (unlikely(dma_mapping_error(dma))) { |