Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73443
b: refs/heads/master
c: 51e6b71
h: refs/heads/master
i:
  73441: 89c8728
  73439: ff4591a
v: v3
  • Loading branch information
Pierre Ossman authored and Jeff Garzik committed Nov 10, 2007
1 parent 10016c1 commit 3931dd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4ef31702c1a83a380d5e144f5af55e21f59c9bb6
refs/heads/master: 51e6b712b5960cc7d086c3f856434ccd096c63a7
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/libertas/if_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,14 @@ static int if_sdio_handle_data(struct if_sdio_card *card,
goto out;
}

skb = dev_alloc_skb(MRVDRV_ETH_RX_PACKET_BUFFER_SIZE);
skb = dev_alloc_skb(MRVDRV_ETH_RX_PACKET_BUFFER_SIZE + NET_IP_ALIGN);
if (!skb) {
ret = -ENOMEM;
goto out;
}

skb_reserve(skb, NET_IP_ALIGN);

data = skb_put(skb, size);

memcpy(data, buffer, size);
Expand Down

0 comments on commit 3931dd7

Please sign in to comment.