rpms/kernel/F-7 linux-2.6-bcm43xx-revert-breakage.patch,NONE,1.1

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Wed Jul 25 12:47:06 UTC 2007


Author: dwmw2

Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28840

Added Files:
	linux-2.6-bcm43xx-revert-breakage.patch 
Log Message:
helps if we actually remember to add the patches

linux-2.6-bcm43xx-revert-breakage.patch:

--- NEW FILE linux-2.6-bcm43xx-revert-breakage.patch ---
REVERT:

commit 77548f58070894cf5970a110981e511ffe793369
Author: Larry Finger <Larry.Finger at lwfinger.net>
Date:   Sat May 26 22:21:29 2007 -0500

    [PATCH] bcm43xx: Fix deviation from specifications in set_baseband_attenuation
    
    A disagreement between the specifications and the bcm43xx code has just
    been discovered and is hereby fixed.
    
    Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
    Signed-off-by: John W. Linville <linville at tuxdriver.com>

diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_phy.c b/drivers/net/wireless/bcm43xx/bcm43xx_phy.c
index b37f1e3..d779199 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_phy.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_phy.c
@@ -1638,7 +1638,7 @@ void bcm43xx_phy_set_baseband_attenuation(struct bcm43xx_private *bcm,
 		return;
 	}
 
-	if (phy->analog == 1) {
+	if (phy->analog > 1) {
 		value = bcm43xx_phy_read(bcm, 0x0060) & ~0x003C;
 		value |= (baseband_attenuation << 2) & 0x003C;
 	} else {




More information about the fedora-extras-commits mailing list