state = WIFI_DIRECT_STATE_CONNECTED;
} else if (state == VCONFKEY_WIFI_DIRECT_DISCOVERING) {
state = WIFI_DIRECT_STATE_DISCOVERING;
+ } else if (state == VCONFKEY_WIFI_DIRECT_DEACTIVATING) {
+ state = WIFI_DIRECT_STATE_DEACTIVATING;
+ } else if (state == VCONFKEY_WIFI_DIRECT_ACTIVATING) {
+ state = WIFI_DIRECT_STATE_ACTIVATING;
+ } else if (state == VCONFKEY_WIFI_DIRECT_CONNECTING) {
+ state = WIFI_DIRECT_STATE_CONNECTING;
+ } else if (state == VCONFKEY_WIFI_DIRECT_DISCONNECTING) {
+ state = WIFI_DIRECT_STATE_DISCONNECTING;
} else {
WDC_LOGE("This state cannot be set as wifi_direct vconf state[%d]", state);
__WDC_LOG_FUNC_END__;
*state = WIFI_DIRECT_STATE_CONNECTED;
} else if (val == VCONFKEY_WIFI_DIRECT_DISCOVERING) {
*state = WIFI_DIRECT_STATE_DISCOVERING;
+ } else if (val == VCONFKEY_WIFI_DIRECT_DEACTIVATING) {
+ *state = WIFI_DIRECT_STATE_DEACTIVATING;
+ } else if (val == VCONFKEY_WIFI_DIRECT_ACTIVATING) {
+ *state = WIFI_DIRECT_STATE_ACTIVATING;
+ } else if (val == VCONFKEY_WIFI_DIRECT_CONNECTING) {
+ *state = WIFI_DIRECT_STATE_CONNECTING;
+ } else if (val == VCONFKEY_WIFI_DIRECT_DISCONNECTING) {
+ *state = WIFI_DIRECT_STATE_DISCONNECTING;
} else {
WDC_LOGE("This state cannot be set as wifi_direct vconf state[%d]", val);
return WIFI_DIRECT_ERROR_OPERATION_FAILED;