summaryrefslogtreecommitdiffstats
path: root/src/network.c
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2010-10-21 21:20:25 +0300
committerAki Niemi <aki.niemi@nokia.com>2010-10-21 21:39:41 +0300
commit56d46ae16b36e756c9aa032029d30ef6dbf4fe4e (patch)
tree078492e2522df0fd6808b958ed3548829edf42f6 /src/network.c
parenteac5b46c19e6389854b4b6d43c400db4814b9fdd (diff)
downloadofono-56d46ae16b36e756c9aa032029d30ef6dbf4fe4e.tar.bz2
netreg: Allow strength notifys at all times
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/network.c b/src/network.c
index 3cd9be3b..f1d77244 100644
--- a/src/network.c
+++ b/src/network.c
@@ -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) {