Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171874
b: refs/heads/master
c: 7010193
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Nov 18, 2009
1 parent aa490ed commit d2ea798
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 06cc5d3bb01350466f7a1bf64d9afe06870b6480
refs/heads/master: 7010193ad8e64dfbc006b167c2ee712d4441292c
4 changes: 0 additions & 4 deletions trunk/drivers/net/wireless/wl12xx/wl1251_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ static void wl1251_rx_status(struct wl1251 *wl,
}

status->signal = desc->rssi;
status->qual = (desc->rssi - WL1251_RX_MIN_RSSI) * 100 /
(WL1251_RX_MAX_RSSI - WL1251_RX_MIN_RSSI);
status->qual = min(status->qual, 100);
status->qual = max(status->qual, 0);

/*
* FIXME: guessing that snr needs to be divided by two, otherwise
Expand Down

0 comments on commit d2ea798

Please sign in to comment.