projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d86a2d
)
b43: LP-PHY: Don't adjust gain table for rev2+ when setting channel
author
Gábor Stefanik
<netrolller.3d@gmail.com>
Fri, 14 Aug 2009 19:11:59 +0000
(21:11 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:54 +0000
(11:35 -0400)
Rev2+ never needs to have gain tables adjusted according to the spec.
Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_lp.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/phy_lp.c
b/drivers/net/wireless/b43/phy_lp.c
index e010268b98792da5b6d36e076665eb68b27f9996..ce81920d26dc5a9285dc3428fdfd669036004b20 100644
(file)
--- a/
drivers/net/wireless/b43/phy_lp.c
+++ b/
drivers/net/wireless/b43/phy_lp.c
@@
-2059,10
+2059,9
@@
static int b43_lpphy_op_switch_channel(struct b43_wldev *dev,
if (err)
return err;
lpphy_japan_filter(dev, new_channel);
+ lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
}
- lpphy_adjust_gain_table(dev, channel2freq_lp(new_channel));
-
return 0;
}