Diff between 8a8aa92e51102389dfa5f9d0ffbee3947924caea and 966561e04a9ac0ab172feb2381f76aa5a07f927c

Changed Files

File Additions Deletions Status
audio/a2dp.c +1 -1 modified

Full Patch

diff --git a/audio/a2dp.c b/audio/a2dp.c
index bbb91ce..623a0bc 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -1589,7 +1589,7 @@ struct a2dp_sep *a2dp_add_sep(const bdaddr_t *src, uint8_t type,
 	server = find_server(servers, src);
 	if (server == NULL) {
 		if (err)
-			*err = -EINVAL;
+			*err = -EPROTONOSUPPORT;
 		return NULL;
 	}