Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351807
b: refs/heads/master
c: 0429a6f
h: refs/heads/master
i:
  351805: d846300
  351803: 47d2ed0
  351799: b72ec0b
  351791: afe3d48
  351775: ccd9900
  351743: b06b4f0
v: v3
  • Loading branch information
Hante Meuleman authored and John W. Linville committed Jan 7, 2013
1 parent a08316f commit 6c6f5a9
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 637ccc27f46f2232267e689b6f8eb744f78f4810
refs/heads/master: 0429a6fa6be9489bf451e9fcc0f97341e4a356b6
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/brcm80211/brcmfmac/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,11 @@ static void brcmf_usb_rx_complete(struct urb *urb)
devinfo->bus_pub.bus->dstats.rx_errors++;
} else
brcmf_rx_packet(devinfo->dev, ifidx, skb);
brcmf_usb_rx_refill(devinfo, req);
/* zero lenght packets indicate usb "failure". Do not refill */
if (urb->actual_length)
brcmf_usb_rx_refill(devinfo, req);
else
brcmf_usb_enq(devinfo, &devinfo->rx_freeq, req, NULL);
} else {
brcmu_pkt_buf_free_skb(skb);
brcmf_usb_enq(devinfo, &devinfo->rx_freeq, req, NULL);
Expand Down

0 comments on commit 6c6f5a9

Please sign in to comment.