Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=db15178755f823d1fa8c242210cf04c26fca1483
Commit:     db15178755f823d1fa8c242210cf04c26fca1483
Parent:     c7c466763d70059ead7ed990e2e9766a0caf9509
Author:     Mattias Nissler <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 13 16:26:52 2007 +0200
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Thu Oct 18 16:19:04 2007 -0400

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Ivo van Doorn <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 bb6f46c..ff399f8 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,
                        /*
                         * Check if we need to set the Length Extension
                         */
-                       if (bitrate == 110 && residual <= 3)
+                       if (bitrate == 110 && residual <= 30)
                                desc.service |= 0x80;
                }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to