Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 246962
b: refs/heads/master
c: 6e6d693
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Stezenbach authored and John W. Linville committed Apr 19, 2011
1 parent 841f644 commit 205c585
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: 75256f0348d38f414b7ac50ac78d4a4532bb6762
refs/heads/master: 6e6d6932a3f525d734f6c2f5845e9cadfaeddce9
11 changes: 7 additions & 4 deletions trunk/drivers/net/wireless/rt2x00/rt2800usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,14 @@ static void rt2800usb_work_txdone(struct work_struct *work)
while (!rt2x00queue_empty(queue)) {
entry = rt2x00queue_get_entry(queue, Q_INDEX_DONE);

if (test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags) ||
!test_bit(ENTRY_DATA_IO_FAILED, &entry->flags))
if (test_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags))
break;
if (test_bit(ENTRY_DATA_IO_FAILED, &entry->flags))
rt2x00lib_txdone_noinfo(entry, TXDONE_FAILURE);
else if (rt2x00queue_status_timeout(entry))
rt2x00lib_txdone_noinfo(entry, TXDONE_UNKNOWN);
else
break;

rt2x00lib_txdone_noinfo(entry, TXDONE_FAILURE);
}
}
}
Expand Down

0 comments on commit 205c585

Please sign in to comment.