avdtp: use defined value

This commit is contained in:
Milanka Ringwald 2025-02-18 15:59:59 +01:00
parent c1caf18b58
commit 799a39db82

View File

@ -516,7 +516,7 @@ uint8_t avdtp_validate_media_configuration(const avdtp_stream_endpoint_t *stream
} }
if (callback == NULL) { if (callback == NULL) {
// config valid // config valid
return 0; return ERROR_CODE_SUCCESS;
} }
return (*callback)(stream_endpoint, event, size); return (*callback)(stream_endpoint, event, size);
} }