From e4c4434edd2936bc48cb32cafd3865b17cc3d54b Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 19 Jul 2018 16:41:00 +0200 Subject: [PATCH] hsp_hs: fix compile --- src/classic/hsp_hs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classic/hsp_hs.c b/src/classic/hsp_hs.c index ca351ff21..cdb251239 100644 --- a/src/classic/hsp_hs.c +++ b/src/classic/hsp_hs.c @@ -615,7 +615,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack rfcomm_handle = rfcomm_event_channel_opened_get_con_handle(packet); rfcomm_cid = rfcomm_event_channel_opened_get_rfcomm_cid(packet); mtu = rfcomm_event_channel_opened_get_max_frame_size(packet); - rfcomm_event_channel_opened_get_bd_addr(packet, event); + rfcomm_event_channel_opened_get_bd_addr(packet, remote); log_info("RFCOMM channel open succeeded. New RFCOMM Channel ID %u, max frame size %u, handle %02x", rfcomm_cid, mtu, rfcomm_handle); hsp_state = HSP_RFCOMM_CONNECTION_ESTABLISHED; }