Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170902
b: refs/heads/master
c: 9d56597
h: refs/heads/master
v: v3
  • Loading branch information
Luciano Coelho authored and John W. Linville committed Oct 27, 2009
1 parent 6a9e4e3 commit 356e325
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3414fc3f527ce74cfca543c37bcb52c8e63b915e
refs/heads/master: 9d565973deb09479de5eed7a5b6594428dc49dde
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/wl12xx/wl1271_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,6 @@ static void wl1271_rx_status(struct wl1271 *wl,
*/
status->signal = desc->rssi;

/* FIXME: Should this be optimized? */
status->qual = (desc->rssi - WL1271_RX_MIN_RSSI) * 100 /
(WL1271_RX_MAX_RSSI - WL1271_RX_MIN_RSSI);
status->qual = min(status->qual, 100);
status->qual = max(status->qual, 0);

/*
* FIXME: In wl1251, the SNR should be divided by two. In wl1271 we
* need to divide by two for now, but TI has been discussing about
Expand Down

0 comments on commit 356e325

Please sign in to comment.