From 35f7c4b06893fc49599d921cf0340accae41afba Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 7 Jul 2009 11:18:39 -0500 Subject: Fix status of operator unknown case When the current operator is reported, it's status is listed as unknown if no other operators are in the operator list --- src/network.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/network.c b/src/network.c index ec91a803..402d2af1 100644 --- a/src/network.c +++ b/src/network.c @@ -980,6 +980,8 @@ static void current_operator_callback(const struct ofono_error *error, memcpy(netreg->current_operator, current, sizeof(struct ofono_network_operator)); + netreg->current_operator->status = OPERATOR_STATUS_CURRENT; + netreg->operator_list = g_slist_append(netreg->operator_list, netreg->current_operator); -- cgit v1.2.3