From 177c9672d1fd5b01ba713125a5d6349d65e673fb Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 29 Oct 2009 14:21:04 -0500 Subject: [PATCH] Fix: Also auto register when status is unknown --- src/network.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/network.c b/src/network.c index 4d77eac..8cc8e3d 100644 --- a/src/network.c +++ b/src/network.c @@ -1132,7 +1132,8 @@ static void init_registration_status(const struct ofono_error *error, if (AUTO_REGISTER && (status == NETWORK_REGISTRATION_STATUS_NOT_REGISTERED || - status == NETWORK_REGISTRATION_STATUS_DENIED)) + status == NETWORK_REGISTRATION_STATUS_DENIED || + status == NETWORK_REGISTRATION_STATUS_UNKNOWN)) netreg->driver->register_auto(netreg, register_callback, netreg); } -- 2.7.4