/* Register cbs */
ret = tethering_set_enabled_cb(ugd->hotspot_handle, TETHERING_TYPE_WIFI, __enabled_cb, ugd);
if (ret != TETHERING_ERROR_NONE) {
- DBG(LOG_ERROR, "tethering_set_enabled_cb is failed\n", ret);
+ DBG(LOG_ERROR, "tethering_set_enabled_cb is failed [%d]\n", ret);
return -1;
}
/* Register cbs */
ret = tethering_set_disabled_cb(ugd->hotspot_handle, TETHERING_TYPE_WIFI, __disabled_cb, ugd);
if (ret != TETHERING_ERROR_NONE) {
- DBG(LOG_ERROR, "tethering_set_disabled_cb is failed\n", ret);
+ DBG(LOG_ERROR, "tethering_set_disabled_cb is failed [%d] \n", ret);
return -1;
}
/* Disable tethering */