From: Shuhrat Dehkanov Date: Thu, 21 May 2015 13:39:14 +0000 (+0900) Subject: Enable network settings view X-Git-Tag: accepted/tizen/tv/20150608.063657~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F39732%2F1;p=profile%2Ftv%2Fapps%2Fnative%2Fsettings.git 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 --- 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.");