netreg: Allow strength notifys at all times

This commit is contained in:
Aki Niemi 2010-10-21 21:20:25 +03:00
parent eac5b46c19
commit 56d46ae16b
1 changed files with 0 additions and 8 deletions

View File

@ -1399,14 +1399,6 @@ void ofono_netreg_strength_notify(struct ofono_netreg *netreg, int strength)
if (netreg->signal_strength == strength)
return;
/*
* Theoretically we can get signal strength even when not registered
* to any network. However, what do we do with it in that case?
*/
if (netreg->status != NETWORK_REGISTRATION_STATUS_REGISTERED &&
netreg->status != NETWORK_REGISTRATION_STATUS_ROAMING)
return;
netreg->signal_strength = strength;
if (strength != -1) {