Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183281
b: refs/heads/master
c: e81e0ae
h: refs/heads/master
i:
  183279: 837451c
v: v3
  • Loading branch information
Alban Browaeys authored and John W. Linville committed Dec 21, 2009
1 parent c4c9899 commit b38e08f
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 6a325d856bc4509f29164fe42501b6909cf57dcf
refs/heads/master: e81e0aef32bfa7f593b14479b9c7eaa7196798ac
9 changes: 6 additions & 3 deletions trunk/drivers/net/wireless/rt2x00/rt2x00queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,13 @@ static void rt2x00queue_create_tx_descriptor(struct queue_entry *entry,

/*
* Beacons and probe responses require the tsf timestamp
* to be inserted into the frame.
* to be inserted into the frame, except for a frame that has been injected
* through a monitor interface. This latter is needed for testing a
* monitor interface.
*/
if (ieee80211_is_beacon(hdr->frame_control) ||
ieee80211_is_probe_resp(hdr->frame_control))
if ((ieee80211_is_beacon(hdr->frame_control) ||
ieee80211_is_probe_resp(hdr->frame_control)) &&
(!(tx_info->flags & IEEE80211_TX_CTL_INJECTED)))
__set_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags);

/*
Expand Down

0 comments on commit b38e08f

Please sign in to comment.