Message ID | 20230806080109.1639693-3-simon.mikuda@streamunlimited.com |
---|---|
State | New |
Headers | show |
Series | Report proper error on connect | expand |
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c index 47b5dd7c3..b43161a13 100644 --- a/profiles/audio/a2dp.c +++ b/profiles/audio/a2dp.c @@ -307,6 +307,7 @@ static int error_to_errno(struct avdtp_error *err) switch (perr) { case EHOSTDOWN: case ECONNABORTED: + case EBADE: return -perr; default: /*