Commit 542e15f3 authored by Rafał Miłecki's avatar Rafał Miłecki

b43: N-PHY: fix "NB" RSSI calibration on PHYs rev2-

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
parent a3764ef7
...@@ -1849,7 +1849,7 @@ static void b43_nphy_rev2_rssi_cal(struct b43_wldev *dev, enum n_rssi_type type) ...@@ -1849,7 +1849,7 @@ static void b43_nphy_rev2_rssi_cal(struct b43_wldev *dev, enum n_rssi_type type)
s32 currd; s32 currd;
for (vcm = 0; vcm < 4; vcm++) { for (vcm = 0; vcm < 4; vcm++) {
if (type == N_RSSI_NB) if (type == N_RSSI_NB)
currd = abs(results[vcm][i]); currd = abs(results[vcm][i] - code * 8);
else else
currd = abs(miniq[vcm][i / 2] - code * 8); currd = abs(miniq[vcm][i / 2] - code * 8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment