aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-03-09 19:30:44 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-13 19:32:31 -0400
commit8ed09854073ae0a19556d4d93cf79cf368c23673 (patch)
tree94d988e89c8bec7d8c7819a6804942abadfa47d3 /drivers/net/wireless/rt2x00/rt2x00dev.c
parentf0e62e46c3cace185eed10ebf53ef060ba6d7bb1 (diff)
rt2x00: Only strip preamble bit in rt2400pci
Only rt2400pci can have the preamble bit set in the PLCP value, for all other drivers it should not be cleared since that will conflict with the plcp values for OFDM rates. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index a885254d2e85..b81efc9b058d 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -574,13 +574,6 @@ void rt2x00lib_rxdone(struct queue_entry *entry,
574 u16 fc; 574 u16 fc;
575 575
576 /* 576 /*
577 * If the signal is the plcp value,
578 * we need to strip the preamble bit (0x08).
579 */
580 if (rxdesc->signal_plcp)
581 rxdesc->signal &= ~0x08;
582
583 /*
584 * Update RX statistics. 577 * Update RX statistics.
585 */ 578 */
586 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; 579 sband = &rt2x00dev->bands[rt2x00dev->curr_band];