From b5279a24602a3f259e3188f95aa9d31d54997ba0 Mon Sep 17 00:00:00 2001 From: Yu A Wang Date: Thu, 5 Jan 2012 01:52:34 -0500 Subject: ofono: Fix network name is null for CDMA network --- plugins/ofono.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/ofono.c') diff --git a/plugins/ofono.c b/plugins/ofono.c index 302dbb21..b15ad03e 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -1505,6 +1505,9 @@ static void add_cdma_network(struct modem_data *modem) if (modem->context == NULL) modem->context = network_context_alloc(modem->path); + if (modem->name == NULL) + modem->name = g_strdup("CDMA Network"); + add_network(modem); if (modem->cdma_cm_powered == TRUE) -- cgit v1.2.3