Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215324
b: refs/heads/master
c: a1d1eab
h: refs/heads/master
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Oct 11, 2010
1 parent 48945f7 commit a19eaa9
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 1550c8ef835af17df322045e92541561afa0f017
refs/heads/master: a1d1eabc8c42ddf5fd3ea4184094561b3edd127b
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/rt2x00/rt2x00usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,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;

if (!__test_and_clear_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags))
if (!test_and_clear_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags))
return;

/*
Expand All @@ -220,7 +220,7 @@ static void rt2x00usb_interrupt_txdone(struct urb *urb)
* Check if the frame was correctly uploaded
*/
if (urb->status)
__set_bit(ENTRY_DATA_IO_FAILED, &entry->flags);
set_bit(ENTRY_DATA_IO_FAILED, &entry->flags);

/*
* Schedule the delayed work for reading the TX status
Expand Down Expand Up @@ -407,7 +407,7 @@ static void rt2x00usb_interrupt_rxdone(struct urb *urb)
struct queue_entry *entry = (struct queue_entry *)urb->context;
struct rt2x00_dev *rt2x00dev = entry->queue->rt2x00dev;

if (!__test_and_clear_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags))
if (!test_and_clear_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags))
return;

/*
Expand All @@ -421,7 +421,7 @@ static void rt2x00usb_interrupt_rxdone(struct urb *urb)
* a problem.
*/
if (urb->actual_length < entry->queue->desc_size || urb->status)
__set_bit(ENTRY_DATA_IO_FAILED, &entry->flags);
set_bit(ENTRY_DATA_IO_FAILED, &entry->flags);

/*
* Schedule the delayed work for reading the RX status
Expand Down

0 comments on commit a19eaa9

Please sign in to comment.