This is a note to let you know that I've just added the patch titled

    Staging: rt3090: Fix RT3090 scan AP function

to the 2.6.37-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     staging-rt3090-fix-rt3090-scan-ap-function.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 1226056d9608d241db4b558a0d88a347ad5c66ae Mon Sep 17 00:00:00 2001
From: Chen, Chien-Chia <[email protected]>
Date: Wed, 8 Dec 2010 14:20:33 -0800
Subject: Staging: rt3090: Fix RT3090 scan AP function

From: Chen, Chien-Chia <[email protected]>

commit 1226056d9608d241db4b558a0d88a347ad5c66ae upstream.

Fix RT3090 scan AP function.

This patch fixes the rt3090 wireless module failed
to scan AP around due to  Windows driver causing
rt3090 module unable to scan AP in Linux.

Acked-by: Lee, Chun-Yi <[email protected]>
Signed-off-by: Chen, Chien-Chia <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/staging/rt2860/chips/rt3090.c |    3 ++-
 drivers/staging/rt2860/chips/rt30xx.c |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

--- a/drivers/staging/rt2860/chips/rt3090.c
+++ b/drivers/staging/rt2860/chips/rt3090.c
@@ -51,7 +51,8 @@ void NICInitRT3090RFRegisters(struct rt_
        if (IS_RT3090(pAd)) {
                /* Init RF calibration */
                /* Driver should toggle RF R30 bit7 before init RF registers */
-               u32 RfReg = 0, data;
+               u8 RfReg;
+               u32 data;
 
                RT30xxReadRFRegister(pAd, RF_R30, (u8 *)&RfReg);
                RfReg |= 0x80;
--- a/drivers/staging/rt2860/chips/rt30xx.c
+++ b/drivers/staging/rt2860/chips/rt30xx.c
@@ -53,7 +53,7 @@ struct rt_reg_pair RT30xx_RFRegTable[] =
        ,
        {RF_R06, 0x02}
        ,
-       {RF_R07, 0x70}
+       {RF_R07, 0x60}
        ,
        {RF_R09, 0x0F}
        ,


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.37/staging-rt3090-fix-rt3090-scan-ap-function.patch
queue-2.6.37/staging-rt2860-fix-previous-patch-error.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to