a2dp: Expose "Key missing" error
authorSimon Mikuda <simon.mikuda@streamunlimited.com>
Sun, 6 Aug 2023 08:01:09 +0000 (10:01 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
This error is not expected and retries will likely end up with same error.

profiles/audio/a2dp.c

index b7c0400fe183da41be9555048004d94a09597ad7..7c7d269b118ad8c858b0a8e854a1b9b02e552afe 100644 (file)
@@ -325,6 +325,7 @@ static int error_to_errno(struct avdtp_error *err)
        switch (perr) {
        case EHOSTDOWN:
        case ECONNABORTED:
+       case EBADE:
                return -perr;
        default:
                /*