diff options
author | Mattias Nissler <mattias.nissler@gmx.de> | 2007-10-13 10:26:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-10-18 16:19:04 -0400 |
commit | db15178755f823d1fa8c242210cf04c26fca1483 (patch) | |
tree | a0bc7a0ce5e6465d0e8edfe199536c519a6e5d13 /drivers | |
parent | c7c466763d70059ead7ed990e2e9766a0caf9509 (diff) |
[PATCH] rt2x00: Fix residual check in PLCP calculations.
Because rt2x00 implements the residual calculation different from what the
legacy code does (i.e. scaled values), we need to adjust the residual check.
Again, we are only mimicking the behaviour of the ralink driver without
actually knowing what we do :-(
Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index bb6f46cfbb9f..ff399f8083e9 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -550,7 +550,7 @@ void rt2x00lib_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
550 | /* | 550 | /* |
551 | * Check if we need to set the Length Extension | 551 | * Check if we need to set the Length Extension |
552 | */ | 552 | */ |
553 | if (bitrate == 110 && residual <= 3) | 553 | if (bitrate == 110 && residual <= 30) |
554 | desc.service |= 0x80; | 554 | desc.service |= 0x80; |
555 | } | 555 | } |
556 | 556 | ||