From 6936f82c910e2f0af09588c0a52cb79e101207a0 Mon Sep 17 00:00:00 2001 From: Bertrand Aygon Date: Thu, 28 Jul 2011 12:14:23 +0200 Subject: [PATCH] ofono: Network name is empty when operator is not available When the operator is not available and the network name is left to NULL, the service is built with the hidden flag set. The operator name will be updated whenever oFono passes it to ConnMan. --- plugins/ofono.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ofono.c b/plugins/ofono.c index 1bd9a30..8650bfc 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -889,6 +889,8 @@ static int add_network(struct connman_device *device, if (modem->operator) connman_network_set_name(network, modem->operator); + else + connman_network_set_name(network, ""); if (modem->has_strength) connman_network_set_strength(network, modem->strength); -- 2.7.4