Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203316
b: refs/heads/master
c: 398ab9e
h: refs/heads/master
v: v3
  • Loading branch information
Gertjan van Wingerde authored and John W. Linville committed Jun 30, 2010
1 parent 91e8f1a commit 9e5e7a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ed7a17a8eb4e60b9e25d9d0eaec19ac704d4f9b
refs/heads/master: 398ab9ea74f06eb98e4b28c2e9b43bf43e8730ab
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/rt2x00/rt2x00usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ static void rt2x00usb_interrupt_txdone(struct urb *urb)
{
struct queue_entry *entry = (struct queue_entry *)urb->context;
struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev;
struct skb_frame_desc *skbdesc = get_skb_frame_desc(entry->skb);
struct txdone_entry_desc txdesc;

if (!test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags) ||
Expand All @@ -182,6 +183,11 @@ static void rt2x00usb_interrupt_txdone(struct urb *urb)
*/
skb_pull(entry->skb, entry->queue->desc_size);

/*
* Signal that the TX descriptor is no longer in the skb.
*/
skbdesc->flags &= ~SKBDESC_DESC_IN_SKB;

/*
* Obtain the status about this packet.
* Note that when the status is 0 it does not mean the
Expand Down

0 comments on commit 9e5e7a8

Please sign in to comment.