SET(dependents "capi-base-common")
SET(pc_dependents "capi-base-common")
+#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -fprofile-arcs -ftest-coverage")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
ADD_SUBDIRECTORY(src)
Name: capi-network-wifi-direct
Summary: Network WiFi-Direct Library
-Version: 1.2.67
+Version: 1.2.68
Release: 1
Group: Network & Connectivity/API
License: Apache-2.0
%build
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+#export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE -fprofile-arcs -ftest-coverage"
export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
+#export LDFLAGS="-lgcov"
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
return ret;
}
+//LCOV_EXCL_START
void __wfd_vconf_state_changed_cb(keynode_t *key, void *data)
{
__WDC_LOG_FUNC_START__;
} else if (state == VCONFKEY_WIFI_DIRECT_CONNECTED) {
state = WIFI_DIRECT_STATE_CONNECTED;
} else if (state == VCONFKEY_WIFI_DIRECT_GROUP_OWNER) {
- state = WIFI_DIRECT_STATE_GROUP_OWNER;
+ state = WIFI_DIRECT_STATE_CONNECTED;
} else if (state == VCONFKEY_WIFI_DIRECT_DISCOVERING) {
state = WIFI_DIRECT_STATE_DISCOVERING;
} else {
__WDC_LOG_FUNC_END__;
return;
}
+//LCOV_EXCL_STOP
/* Manage */
void wifi_direct_process_manage_activation(GDBusConnection *connection,
} else if (val == VCONFKEY_WIFI_DIRECT_CONNECTED) {
*state = WIFI_DIRECT_STATE_CONNECTED;
} else if (val == VCONFKEY_WIFI_DIRECT_GROUP_OWNER) {
- *state = WIFI_DIRECT_STATE_GROUP_OWNER;
+ *state = WIFI_DIRECT_STATE_CONNECTED;
} else if (val == VCONFKEY_WIFI_DIRECT_DISCOVERING) {
*state = WIFI_DIRECT_STATE_DISCOVERING;
} else {