there need some delay for sync after network setting
but delay is not proper method for waiting
so, remove delay and check routine
it have to be considered through callback or others
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
// 2. if it is connected, read detail info
ret = __network_connect(network);
- // need to delay to sync with setting...
- sleep(5);
- ret = __network_get_state(&conn_state, &conn_type);
- if (ret == SA_ERROR_NONE) {
- _D("Device Network : T[%s] S[%s]", __print_network_type(conn_type), __print_connection_state(conn_state));
- }
-
return ret;
}