linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bcm43xx-mac80211: Fix for tx_bias equal to 0xFF
@ 2007-05-26 17:09 Larry Finger
  2007-05-26 17:19 ` Michael Buesch
  0 siblings, 1 reply; 9+ messages in thread
From: Larry Finger @ 2007-05-26 17:09 UTC (permalink / raw)
  To: Michael Buesch; +Cc: Bcm43xx-dev, linux-wireless

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);

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-05-26 21:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-26 17:09 [PATCH] bcm43xx-mac80211: Fix for tx_bias equal to 0xFF Larry Finger
2007-05-26 17:19 ` Michael Buesch
2007-05-26 17:55   ` Larry Finger
2007-05-26 17:56     ` Michael Buesch
2007-05-26 20:06     ` Michael Buesch
2007-05-26 21:11       ` Larry Finger
2007-05-26 21:13         ` Michael Buesch
2007-05-26 21:41           ` Joseph Jezak
2007-05-26 20:18     ` Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).