}
}
-
-void __default_tapi_response_cb(TapiHandle *handle, int result, void *data, void *user_data)
-{
-}
-
-
UG_MODULE_API int setting_plugin_reset(service_h service, void *priv)
{
SETTING_TRACE_BEGIN;
if (tapi_handle) {
SETTING_TRACE_DEBUG("tel_init sucessfull");
//1.tel_select_network_automatic
- int tapi_ret = tel_select_network_automatic(tapi_handle, __default_tapi_response_cb, NULL);
+ int tapi_ret = tel_select_network_automatic(tapi_handle, NULL, NULL);
if (tapi_ret != TAPI_API_SUCCESS) {
ret++;
SETTING_TRACE_ERROR("tel_select_network_automatic. tapi_ret=%d", tapi_ret);
//2.tel_set_network_band
tapi_ret = tel_set_network_band(tapi_handle, TAPI_NETWORK_BAND_MODE_ONLY,
TAPI_NETWORK_BAND_TYPE_ANY,
- __default_tapi_response_cb, NULL);
+ NULL, NULL);
if (tapi_ret != TAPI_API_SUCCESS) {
ret++;
SETTING_TRACE_ERROR("tel_set_network_band. tapi_ret=%d", tapi_ret);
}
//Reset connections info..
- // -> need to cowork with CSC
+ // -> need to cowork with CSC
//ret += excuteCmd("/usr/bin/dbus-send", 1, NET_CON_RESET_DBUS_PARA);
SETTING_TRACE_END;