Enable network settings view 32/39732/1
authorShuhrat Dehkanov <sh.dehkanov@samsung.com>
Thu, 21 May 2015 13:39:14 +0000 (22:39 +0900)
committerShuhrat Dehkanov <sh.dehkanov@samsung.com>
Thu, 21 May 2015 13:39:18 +0000 (22:39 +0900)
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

index 54f32b3..0f78e08 100644 (file)
@@ -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.");