Search Linux Wireless

[PATCH] bcm43xx-mac80211: Fix for tx_bias equal to 0xFF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Index: wireless-mb/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_phy.c
===================================================================
--- wireless-mb.orig/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_phy.c
+++ wireless-mb/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_phy.c
@@ -4122,6 +4122,10 @@ void bcm43xx_radio_set_txpower_bg(struct
 	tx_magn = _tx_magn;
 	phy->bbatt = baseband_attenuation;
 	phy->rfatt = radio_attenuation;
+	if (tx_bias == 0xFF) {
+		bcm43xx_lo_g_measure(dev);
+		tx_bias = phy->lo_control->tx_bias;
+	}
 
 	/* Set Baseband Attenuation on device. */
 	bcm43xx_phy_set_baseband_attenuation(dev, baseband_attenuation);
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux