Parent: e8e323e1fbd097672ad37580019055ec1ed752b3
Author: Michal Labedzki <michal.labedzki@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-03-13 13:50:19
Tree: 88edc1c24a0a119f21ad210fe524251e34f4b149
avrcp: Add error code for rejected vendor command Fix response for any vendor commands when there are no players registered. According to the specification responses should be REJECTED with error code. "For error response PDU the response parameter is always the error code independent of the response format defined for ACCEPTED PDU response for the corresponding PDU command." (source: section 4.7.9 of AVRCP 1.3 specification)
Diffstat
| M | audio/avctp.c | | | 4 | +++- |
| M | audio/avrcp.c | | | 15 | +++++++++++++++ |
| M | audio/avrcp.h | | | 2 | ++ |
3 files changed, 20 insertions(+), 1 deletions(-)