diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-03-20 14:13:47 -0400 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2013-04-23 06:27:57 -0400 |
commit | 542e15f35d296b958ff51d50af91223806a064cb (patch) | |
tree | 3bd6c761c5c106eb4f547096060975fbbaf47194 /drivers/net/wireless/b43 | |
parent | a3764ef7a56913f0060247a7ed49bd2c74200d97 (diff) |
b43: N-PHY: fix "NB" RSSI calibration on PHYs rev2-
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index b8b373ebc8b2..5d7ea60677a4 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -1849,7 +1849,7 @@ static void b43_nphy_rev2_rssi_cal(struct b43_wldev *dev, enum n_rssi_type type) | |||
1849 | s32 currd; | 1849 | s32 currd; |
1850 | for (vcm = 0; vcm < 4; vcm++) { | 1850 | for (vcm = 0; vcm < 4; vcm++) { |
1851 | if (type == N_RSSI_NB) | 1851 | if (type == N_RSSI_NB) |
1852 | currd = abs(results[vcm][i]); | 1852 | currd = abs(results[vcm][i] - code * 8); |
1853 | else | 1853 | else |
1854 | currd = abs(miniq[vcm][i / 2] - code * 8); | 1854 | currd = abs(miniq[vcm][i / 2] - code * 8); |
1855 | 1855 | ||