From 5f2dd2066c3eb4100ca77767a58c0853842019f4 Mon Sep 17 00:00:00 2001 From: Shuhrat Dehkanov Date: Thu, 21 May 2015 22:39:14 +0900 Subject: [PATCH] Enable network settings view This ignores return value from register_ethernet_state_cb() (this API is actually missing from capi-network-connection at this moment). Change-Id: I8748505ee362cc986cb9ac47106dd1cb4c7128e2 --- ug/network/src/main_view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ug/network/src/main_view.c b/ug/network/src/main_view.c index 54f32b3..0f78e08 100644 --- a/ug/network/src/main_view.c +++ b/ug/network/src/main_view.c @@ -604,12 +604,12 @@ static int _init_connection(struct _priv *priv) (priv->connection, _connection_ethernet_state_callback, priv); -#endif + if (ret != RET_SUCCESS) { _ERR("register_ethernet_state_cb() failed."); return RET_FAILED; } - +#endif ret = _get_connection_profile_info(priv); if (ret != RET_SUCCESS) { _ERR("_get_connection_profile_info() failed."); -- 2.7.4