---
 drivers/atmodem/network-registration.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/atmodem/network-registration.c 
b/drivers/atmodem/network-registration.c
index 0c77ba8..e11c974 100644
--- a/drivers/atmodem/network-registration.c
+++ b/drivers/atmodem/network-registration.c
@@ -662,13 +662,13 @@ static void ifx_xciev_notify(GAtResult *result, gpointer 
user_data)
                return;
 
        if (ind == 0)
-               strength = 0;
+               strength = -1;
        else if (ind == 7)
                strength = 100;
        else
                strength = (ind * 15);
 
-       ofono_netreg_strength_notify(netreg, ind);
+       ofono_netreg_strength_notify(netreg, strength);
 }
 
 static void ciev_notify(GAtResult *result, gpointer user_data)
-- 
1.7.0.4

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to