Parent: 5523fecc24a1b23310a17f826ce99025eefad6b5
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-05-25 16:34:17
Tree: 6cc03ce27f167ea01213a09c9b7492634abe1d05
audio/avrcp: Fix not handling Addressed Player Changed error Some notification are completed in case the addressed player changes: 'On completion of the Addressed Player Changed notification the TG shall complete all player specific notifications with AV/C C-Type REJECTED with error code Addressed Player Changed.' Because reject only has the error code not the event it is necessary to lookup by transaction to find out which event was completed thus the transaction needs to be added to the avctp_rsp_cb callback.
Diffstat
| M | profiles/audio/avctp.c | | | 20 | +++++++++++- - - - - - - - - |
| M | profiles/audio/avctp.h | | | 5 | +++- - |
| M | profiles/audio/avrcp.c | | | 56 | +++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - |
3 files changed, 53 insertions(+), 28 deletions(-)