/* Create Pending Request */
pending = tcore_pending_new(co, 0);
if (pending == NULL) {
- dbg("Memory failure, pending is NULL");
+ err("Memory failure, pending is NULL");
return TCORE_RETURN_ENOMEM;
}
/* Create AT-Command Request */
req = tcore_at_request_new(at_cmd, at_cmd_prefix, at_cmd_type);
if (req == NULL) {
- dbg("Memory failure, request is NULL");
+ err("Memory failure, request is NULL");
tcore_pending_free(pending);
return TCORE_RETURN_ENOMEM;
}
}
if ((enable == FALSE) && (cdata->rawip_enabled == FALSE)) {
- dbg("PDP context %d already disabled", cid);
+ err("PDP context %d already disabled", cid);
return TCORE_RETURN_SUCCESS;
}