linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH] b43: LP-PHY: always adjust gain table on channel switch
@ 2010-02-04 20:57 Rafał Miłecki
  2010-02-05  3:24 ` Larry Finger
  0 siblings, 1 reply; 9+ messages in thread
From: Rafał Miłecki @ 2010-02-04 20:57 UTC (permalink / raw)
  To: Gábor Stefanik, linux-wireless, John W. Linville
  Cc: bcm43xx-dev, Rafał Miłecki

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

---
Gábor: I think you missed specs here. Could you check whole routine just for
sure, please? I don't understand whole radio and chanspec magic yet.
---
 drivers/net/wireless/b43/phy_lp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c
index 185219e..61009ee 100644
--- a/drivers/net/wireless/b43/phy_lp.c
+++ b/drivers/net/wireless/b43/phy_lp.c
@@ -2655,8 +2655,8 @@ static int b43_lpphy_op_switch_channel(struct b43_wldev *dev,
 		if (err)
 			return err;
 		lpphy_set_analog_filter(dev, new_channel);
-		lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
 	}
+	lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
 
 	lpphy->channel = new_channel;
 	b43_write16(dev, B43_MMIO_CHANNEL, new_channel);
-- 
1.6.4.2


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

end of thread, other threads:[~2010-02-06 19:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-04 20:57 [RFC][PATCH] b43: LP-PHY: always adjust gain table on channel switch Rafał Miłecki
2010-02-05  3:24 ` Larry Finger
2010-02-05 16:27   ` Gábor Stefanik
2010-02-06  0:06     ` Larry Finger
2010-02-06 19:24       ` Gábor Stefanik
2010-02-05 16:41   ` Gábor Stefanik
2010-02-05 18:09     ` Larry Finger
2010-02-05 18:46       ` Gábor Stefanik
2010-02-05 19:19         ` Larry Finger

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