atmodem: fix signal strength issue with ifx

This commit is contained in:
Jeevaka Badrappan 2011-01-18 17:00:31 +02:00 committed by Marcel Holtmann
parent 3e8593850b
commit 3ae5e46b69
1 changed files with 2 additions and 2 deletions

View File

@ -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)