Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291530
b: refs/heads/master
c: 627fdaf
h: refs/heads/master
v: v3
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Mar 15, 2012
1 parent 0d42668 commit 532e156
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 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: d47a61aa228709fe1704e18a2f444661c10b81c0
refs/heads/master: 627fdaf763f80a4db41289c4af7dc279dcba7363
16 changes: 11 additions & 5 deletions trunk/drivers/net/wireless/rt2x00/rt2800usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,15 +528,11 @@ static void rt2800usb_txdone(struct rt2x00_dev *rt2x00dev)
}
}

static void rt2800usb_work_txdone(struct work_struct *work)
static void rt2800usb_txdone_nostatus(struct rt2x00_dev *rt2x00dev)
{
struct rt2x00_dev *rt2x00dev =
container_of(work, struct rt2x00_dev, txdone_work);
struct data_queue *queue;
struct queue_entry *entry;

rt2800usb_txdone(rt2x00dev);

/*
* Process any trailing TX status reports for IO failures,
* we loop until we find the first non-IO error entry. This
Expand All @@ -560,6 +556,16 @@ static void rt2800usb_work_txdone(struct work_struct *work)
break;
}
}
}

static void rt2800usb_work_txdone(struct work_struct *work)
{
struct rt2x00_dev *rt2x00dev =
container_of(work, struct rt2x00_dev, txdone_work);

rt2800usb_txdone(rt2x00dev);

rt2800usb_txdone_nostatus(rt2x00dev);

/*
* The hw may delay sending the packet after DMA complete
Expand Down

0 comments on commit 532e156

Please sign in to comment.