projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3764ef
)
b43: N-PHY: fix "NB" RSSI calibration on PHYs rev2-
author
Rafał Miłecki
<zajec5@gmail.com>
Wed, 20 Mar 2013 18:13:47 +0000
(19:13 +0100)
committer
Rafał Miłecki
<zajec5@gmail.com>
Tue, 23 Apr 2013 10:27:57 +0000
(12:27 +0200)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
drivers/net/wireless/b43/phy_n.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/b43/phy_n.c
b/drivers/net/wireless/b43/phy_n.c
index b8b373ebc8b223edd8dd48538454afd5cb0b27ba..5d7ea60677a4bcb5ae10c6b16bd30df0d1253ba0 100644
(file)
--- 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)
s32 currd;
for (vcm = 0; vcm < 4; vcm++) {
if (type == N_RSSI_NB)
- currd = abs(results[vcm][i]);
+ currd = abs(results[vcm][i]
- code * 8
);
else
currd = abs(miniq[vcm][i / 2] - code * 8);