From bd611d833c0b1b4e8d2260b5570629a265138842 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 7 Nov 2012 12:34:02 +0200 Subject: [PATCH] AVRCP: Add support for GetCapabilities PDU when acting as controller This adds GetCapabilities PDU id to controller handlers vtable so it is able to respond it properly. --- audio/avrcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/avrcp.c b/audio/avrcp.c index ab9ffbf12..e3ce2fb08 100644 --- a/audio/avrcp.c +++ b/audio/avrcp.c @@ -1412,6 +1412,8 @@ static const struct control_pdu_handler tg_control_handlers[] = { }; static const struct control_pdu_handler ct_control_handlers[] = { + { AVRCP_GET_CAPABILITIES, AVC_CTYPE_STATUS, + avrcp_handle_get_capabilities }, { }, }; -- 2.47.3