From d87ec4a871a62e0413e746c275ab6aa15a5d8ece Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 12 Jun 2010 19:17:12 +0000 Subject: [PATCH] use correct sdp response len instead of 7 --- src/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdp.c b/src/sdp.c index ac7617530..b7c01f701 100644 --- a/src/sdp.c +++ b/src/sdp.c @@ -345,7 +345,7 @@ static void sdp_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *p pos = sdp_create_error_response(transaction_id, 0x0003); // invalid syntax break; } - l2cap_send_internal(channel, sdp_response_buffer, 7); + l2cap_send_internal(channel, sdp_response_buffer, pos); break; case HCI_EVENT_PACKET: