1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-03-29 04:20:20 +00:00

use correct sdp response len instead of 7

This commit is contained in:
matthias.ringwald 2010-06-12 19:17:12 +00:00
parent 06d7e47ea1
commit d87ec4a871

@ -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 pos = sdp_create_error_response(transaction_id, 0x0003); // invalid syntax
break; break;
} }
l2cap_send_internal(channel, sdp_response_buffer, 7); l2cap_send_internal(channel, sdp_response_buffer, pos);
break; break;
case HCI_EVENT_PACKET: case HCI_EVENT_PACKET: