Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291155
b: refs/heads/master
c: 1d9c179
h: refs/heads/master
i:
  291153: 585249f
  291151: f7ebe3e
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Mar 5, 2012
1 parent b8b8a72 commit 9475c5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 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: ac94f196a5fed4915b82d71b9b111867d78df992
refs/heads/master: 1d9c1796bc448d76429e0937ef69e4f29cd1adad
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ static void brcmf_usb_tx_complete(struct urb *urb)

brcmf_usb_del_fromq(devinfo, req);
if (urb->status == 0)
devinfo->bus_pub.stats.tx_packets++;
devinfo->bus_pub.bus->dstats.tx_packets++;
else
devinfo->bus_pub.stats.tx_errors++;
devinfo->bus_pub.bus->dstats.tx_errors++;

dev_kfree_skb(req->skb);
req->skb = NULL;
Expand All @@ -536,9 +536,9 @@ static void brcmf_usb_rx_complete(struct urb *urb)
req->skb = NULL;

if (urb->status == 0) {
devinfo->bus_pub.stats.rx_packets++;
devinfo->bus_pub.bus->dstats.rx_packets++;
} else {
devinfo->bus_pub.stats.rx_errors++;
devinfo->bus_pub.bus->dstats.rx_errors++;
dev_kfree_skb(skb);
brcmf_usb_enq(devinfo, &devinfo->rx_freeq, req);
return;
Expand Down
11 changes: 0 additions & 11 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,10 @@ enum brcmf_usb_pnp_state {
};

struct brcmf_stats {
u32 tx_errors;
u32 tx_packets;
u32 tx_multicast;
u32 tx_ctlpkts;
u32 tx_ctlerrs;
u32 tx_dropped;
u32 tx_flushed;
u32 rx_errors;
u32 rx_packets;
u32 rx_multicast;
u32 rx_ctlpkts;
u32 rx_ctlerrs;
u32 rx_dropped;
u32 rx_flushed;

};

struct brcmf_usbdev {
Expand Down

0 comments on commit 9475c5b

Please sign in to comment.