* [PATCH 21/24] rt2x00: Don't check for preamble in RXdone
@ 2007-07-31 18:37 Ivo van Doorn
0 siblings, 0 replies; only message in thread
From: Ivo van Doorn @ 2007-07-31 18:37 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-wireless, rt2400-devel
>From 0ad766f217ff7be662dd1da4b55dc19de4ac0018 Mon Sep 17 00:00:00 2001
From: Ivo van Doorn <IvDoorn@gmail.com>
Date: Tue, 31 Jul 2007 16:05:20 +0200
Subject: [PATCH 21/24] rt2x00: Don't check for preamble in RXdone
Don't return rate->val2 to mac80211 as the rate
value for a received frame. Not only will this
falsely identify frames received at 1Mbs and 11Mbs
as preamble. But it will also confuse mac80211
who will only search for rate->val.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
---
drivers/net/wireless/rt2x00dev.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wireless/rt2x00dev.c b/drivers/net/wireless/rt2x00dev.c
index 42308ed..8e860a8 100644
--- a/drivers/net/wireless/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00dev.c
@@ -288,13 +288,7 @@ void rt2x00lib_rxdone(struct data_entry *entry, char *data,
val = DEVICE_GET_RATE_FIELD(rate->val, PLCP);
if (val == signal) {
- /*
- * Check for preamble bit.
- */
- if (signal & 0x08)
- val = rate->val2;
- else
- val = rate->val;
+ val = rate->val;
break;
}
}
--
1.5.2.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-31 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 18:37 [PATCH 21/24] rt2x00: Don't check for preamble in RXdone Ivo van Doorn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.