Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224294
b: refs/heads/master
c: e2f8c87
h: refs/heads/master
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Nov 15, 2010
1 parent 52b4c82 commit e9d2b9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2b23cdaa3b0e9567597563e5a7a5103ecda447f0
refs/heads/master: e2f8c8752b994026fc0ddb4bb29ca229b3e0c104
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/rt2x00/rt2x00debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
struct timeval timestamp;
u32 data_len;

do_gettimeofday(&timestamp);

if (!test_bit(FRAME_DUMP_FILE_OPEN, &intf->frame_dump_flags))
if (likely(!test_bit(FRAME_DUMP_FILE_OPEN, &intf->frame_dump_flags)))
return;

do_gettimeofday(&timestamp);

if (skb_queue_len(&intf->frame_dump_skbqueue) > 20) {
DEBUG(rt2x00dev, "txrx dump queue length exceeded.\n");
return;
Expand Down

0 comments on commit e9d2b9d

Please sign in to comment.