deliver DAEMON_EVENT_HCI_PACKET_SENT as HCI_EVENT_PACKET to security_protocol_packet_handler (not supported yet anyway)

This commit is contained in:
matthias.ringwald 2012-03-19 23:09:54 +00:00
parent 3efa5692f5
commit 133efcfd6a

View File

@ -653,7 +653,7 @@ void l2cap_event_handler( uint8_t *packet, uint16_t size ){
(*attribute_protocol_packet_handler)(HCI_EVENT_PACKET, 0, packet, size);
}
if (security_protocol_packet_handler) {
(*security_protocol_packet_handler)(SM_DATA_PACKET, 0, packet, size);
(*security_protocol_packet_handler)(HCI_EVENT_PACKET, 0, packet, size);
}
break;