diff options
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_rx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.c b/drivers/net/wireless/wl12xx/wl1271_rx.c index ad8b6904c5eb..5d8d40158981 100644 --- a/drivers/net/wireless/wl12xx/wl1271_rx.c +++ b/drivers/net/wireless/wl12xx/wl1271_rx.c | |||
@@ -91,12 +91,6 @@ static void wl1271_rx_status(struct wl1271 *wl, | |||
91 | */ | 91 | */ |
92 | status->signal = desc->rssi; | 92 | status->signal = desc->rssi; |
93 | 93 | ||
94 | /* FIXME: Should this be optimized? */ | ||
95 | status->qual = (desc->rssi - WL1271_RX_MIN_RSSI) * 100 / | ||
96 | (WL1271_RX_MAX_RSSI - WL1271_RX_MIN_RSSI); | ||
97 | status->qual = min(status->qual, 100); | ||
98 | status->qual = max(status->qual, 0); | ||
99 | |||
100 | /* | 94 | /* |
101 | * FIXME: In wl1251, the SNR should be divided by two. In wl1271 we | 95 | * FIXME: In wl1251, the SNR should be divided by two. In wl1271 we |
102 | * need to divide by two for now, but TI has been discussing about | 96 | * need to divide by two for now, but TI has been discussing about |