treewide: cleanup code

- Remove some unused data fields
- Fix a few typos in comments, etc

[cleanup commit message]
Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Ian Clowes 2022-02-17 16:28:00 +00:00 committed by Nick Hainke
parent 8064e56899
commit ba305bb2c2
7 changed files with 7 additions and 27 deletions

View file

@ -8,6 +8,7 @@ double iee80211_calculate_expected_throughput_mbit(int exp_thr) {
return (((double) exp_thr) / 1000);
}
// FIXME: This calculation seems to be unreliable. Is it device specific?
int rcpi_to_rssi(int rcpi)
{
return rcpi / 2 - 110;