summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/settings.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-11-22 16:00:33 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2012-11-22 16:00:33 +0100
commitd72cb4401e9229da9306fd49dc0d541eb002de9a (patch)
treea84aabc097cc806ac6d480d700b07098732453a1 /src/host/layer23/src/mobile/settings.c
parent85f4e1b3b8b386fd7e25b33d83768fe8a100e051 (diff)
Rename various "rxlev" variable to "rxlev_dbm" and correct their signess
All levels in range of 0..63 are now uint8_t and use "rxlev" as variable name. All levels in range of -110..-47 are now int8_t and use "rxlev_dbm" as variable name.
Diffstat (limited to 'src/host/layer23/src/mobile/settings.c')
-rw-r--r--src/host/layer23/src/mobile/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/settings.c b/src/host/layer23/src/mobile/settings.c
index e34db7e1..2b518379 100644
--- a/src/host/layer23/src/mobile/settings.c
+++ b/src/host/layer23/src/mobile/settings.c
@@ -79,7 +79,7 @@ int gsm_settings_init(struct osmocom_ms *ms)
set->half_v1 = sup->half_v1;
set->half_v3 = sup->half_v3;
set->ch_cap = sup->ch_cap;
- set->min_rxlev_db = sup->min_rxlev_db;
+ set->min_rxlev_dbm = sup->min_rxlev_dbm;
set->dsc_max = sup->dsc_max;
if (sup->half_v1 || sup->half_v3)