char msg[WFD_POP_STR_MAX_LEN] = {0};
char *format_str = NULL;
- WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %d\n", resp);
+ WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %lu\n", resp);
switch (resp) {
case /* MT */ WFD_POP_RESP_APRV_CONNECT_PBC_YES:
size_t size = 0;
- WFD_RET_IF(data == NULL || key == NULL || type == 0, , "Invialid parameter!");
+ WFD_RET_IF(data == NULL || key == NULL || type == 0, "Invialid parameter!");
app_control_h control = data;
/* 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 */