Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150730
b: refs/heads/master
c: 744c6b2
h: refs/heads/master
v: v3
  • Loading branch information
Riccardo Ghetta authored and David S. Miller committed Jun 8, 2009
1 parent dc7a044 commit 56f57bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 365da8722d9df54efb8212bf82a87d816c522845
refs/heads/master: 744c6b2976778ac6944e580fc413842df85be84e
4 changes: 2 additions & 2 deletions trunk/drivers/net/sis190.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ static bool sis190_try_rx_copy(struct sis190_private *tp,
if (!skb)
goto out;

pci_dma_sync_single_for_device(tp->pci_dev, addr, pkt_size,
PCI_DMA_FROMDEVICE);
pci_dma_sync_single_for_cpu(tp->pci_dev, addr, tp->rx_buf_sz,
PCI_DMA_FROMDEVICE);
skb_reserve(skb, 2);
skb_copy_to_linear_data(skb, sk_buff[0]->data, pkt_size);
*sk_buff = skb;
Expand Down

0 comments on commit 56f57bd

Please sign in to comment.