From ad108f5edec2a47d4b6533a85ff201a5d798591c Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Tue, 10 Feb 2015 18:47:55 +0000 Subject: [PATCH] correct access to event address --- src/rfcomm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rfcomm.c b/src/rfcomm.c index d5b4830e7..8f2bb5671 100644 --- a/src/rfcomm.c +++ b/src/rfcomm.c @@ -248,7 +248,7 @@ void rfcomm_emit_port_configuration(rfcomm_channel_t *channel){ event[1] = sizeof(rfcomm_rpn_data_t); memcpy(&event[2], (uint8_t*) &channel->rpn_data, sizeof(rfcomm_rpn_data_t)); hci_dump_packet( HCI_EVENT_PACKET, 0, event, sizeof(event)); - (*app_packet_handler)(channel->connection, HCI_EVENT_PACKET, channel->rfcomm_cid, (uint8_t*)&event, sizeof(event)); + (*app_packet_handler)(channel->connection, HCI_EVENT_PACKET, channel->rfcomm_cid, (uint8_t*)event, sizeof(event)); } // MARK RFCOMM RPN DATA HELPER