summaryrefslogtreecommitdiffstats
path: root/src/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.c b/src/network.c
index bac3b108..d1bfca69 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1539,12 +1539,12 @@ void ofono_netreg_strength_notify(struct ofono_netreg *netreg, int strength)
if (strength != -1) {
const char *path = __ofono_atom_get_path(netreg->atom);
- unsigned char strength = netreg->signal_strength;
+ unsigned char strength_byte = netreg->signal_strength;
ofono_dbus_signal_property_changed(conn, path,
OFONO_NETWORK_REGISTRATION_INTERFACE,
"Strength", DBUS_TYPE_BYTE,
- &strength);
+ &strength_byte);
}
modem = __ofono_atom_get_modem(netreg->atom);