This fixes any potential issues with the sdp response transaction id not matching the request. --- android/tester-avrcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/tester-avrcp.c b/android/tester-avrcp.c index 46c92e3..6beab7d 100644 --- a/android/tester-avrcp.c +++ b/android/tester-avrcp.c @@ -173,8 +173,8 @@ static void sdp_cid_hook_cb(const void *data, uint16_t len, void *user_data) struct bthost *bthost = hciemu_client_get_host(t_data->hciemu); struct emu_cid_data *cid_data = user_data; - bthost_send_cid(bthost, cid_data->handle, cid_data->cid, - sdp_rsp_pdu.data, sdp_rsp_pdu.size); + tester_send_sdp_pdu(bthost, cid_data->handle, cid_data->cid, + get_be16(data + 1), &sdp_rsp_pdu); } static void sdp_connect_request_cb(uint16_t handle, uint16_t cid, void *user_data) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html