diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-02-20 07:56:07 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-21 15:39:59 -0500 |
commit | 1bce85cf9cea85f6b9a27326effef1e05f7cbc23 (patch) | |
tree | 1f050fc1e2d7c14e0151e837e973666a40f62062 /drivers/net | |
parent | 430df7980ef1a522ad2fd1d06e1b6655f2d9320f (diff) |
Revert "rt2x00 : avoid timestamp for monitor injected frame."
This reverts commit e81e0aef32bfa7f593b14479b9c7eaa7196798ac "rt2x00 : avoid
timestamp for monitor injected frame." as it breaks proper timestamp insertion
into probe responses injected by hostapd for example.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Benoit PAPILLAULT <benoit.papillault@free.fr>
Cc: Alban Browaeys <prahal@yahoo.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c index fa17c83b9685..bf9bba356280 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.c +++ b/drivers/net/wireless/rt2x00/rt2x00queue.c | |||
@@ -365,13 +365,10 @@ static void rt2x00queue_create_tx_descriptor(struct queue_entry *entry, | |||
365 | 365 | ||
366 | /* | 366 | /* |
367 | * Beacons and probe responses require the tsf timestamp | 367 | * Beacons and probe responses require the tsf timestamp |
368 | * to be inserted into the frame, except for a frame that has been injected | 368 | * to be inserted into the frame. |
369 | * through a monitor interface. This latter is needed for testing a | ||
370 | * monitor interface. | ||
371 | */ | 369 | */ |
372 | if ((ieee80211_is_beacon(hdr->frame_control) || | 370 | if (ieee80211_is_beacon(hdr->frame_control) || |
373 | ieee80211_is_probe_resp(hdr->frame_control)) && | 371 | ieee80211_is_probe_resp(hdr->frame_control)) |
374 | (!(tx_info->flags & IEEE80211_TX_CTL_INJECTED))) | ||
375 | __set_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags); | 372 | __set_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags); |
376 | 373 | ||
377 | /* | 374 | /* |