Signed-off-by: Michael Buesch <[EMAIL PROTECTED]>

Index: wireless-dev/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_phy.c
===================================================================
--- wireless-dev.orig/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_phy.c       
2007-08-02 17:18:02.000000000 +0200
+++ wireless-dev/drivers/net/wireless/bcm43xx-mac80211/bcm43xx_phy.c    
2007-08-02 17:18:04.000000000 +0200
@@ -2118,9 +2118,13 @@ void bcm43xx_phy_xmitpower(struct bcm43x
                                }
                        }
                }
+               /* Save the control values */
                phy->tx_control = tx_control;
                bcm43xx_put_attenuation_into_ranges(dev, &bbatt, &rfatt);
+               phy->rfatt.att = rfatt;
+               phy->bbatt.att = bbatt;
 
+               /* Adjust the hardware */
                bcm43xx_phy_lock(dev, phylock_flags);
                bcm43xx_radio_lock(dev);
                bcm43xx_set_txpower_g(dev, &phy->bbatt, &phy->rfatt, 
phy->tx_control);

--

_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to