Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111407
b: refs/heads/master
c: 0c25970
h: refs/heads/master
i:
  111405: 28e892e
  111403: a986183
  111399: 5ab4124
  111391: 12d4f15
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Sep 5, 2008
1 parent 0d85cb4 commit 87b9dd2
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c41a40c58b623f97dd2e23aa3baab2cedb47d99f
refs/heads/master: 0c25970dc1b0d46f2357e7c4b267ab7b93eb7cdd
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/p54/p54pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,11 @@ static void p54p_check_rx_ring(struct ieee80211_hw *dev, u32 *index,
len = le16_to_cpu(desc->len);
skb = rx_buf[i];

if (!skb)
if (!skb) {
i++;
i %= ring_limit;
continue;

}
skb_put(skb, len);

if (p54_rx(dev, skb)) {
Expand Down

0 comments on commit 87b9dd2

Please sign in to comment.