From 9f3b2b8a86b8d6e6c8fac13c5a6e5df988a27500 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 13 Nov 2015 22:57:38 +0100 Subject: [PATCH] drop connection from rfcomm_channel and rfcomm_service --- src/classic/rfcomm.c | 1 - src/classic/rfcomm.h | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/classic/rfcomm.c b/src/classic/rfcomm.c index 66759ef58..012c05099 100644 --- a/src/classic/rfcomm.c +++ b/src/classic/rfcomm.c @@ -1373,7 +1373,6 @@ static void rfcomm_channel_state_machine_2(rfcomm_multiplexer_t * multiplexer, u multiplexer->send_dm_for_dlci = dlci; return; } - channel->connection = service->connection; rfcomm_channel_state_machine(channel, event); } diff --git a/src/classic/rfcomm.h b/src/classic/rfcomm.h index 268e14a99..736cd4cd3 100644 --- a/src/classic/rfcomm.h +++ b/src/classic/rfcomm.h @@ -260,9 +260,6 @@ typedef struct { // initial incoming credits uint8_t incoming_initial_credits; - // client connection - void *connection; - // internal connection btstack_packet_handler_t packet_handler; @@ -357,10 +354,7 @@ typedef struct { // internal connection btstack_packet_handler_t packet_handler; - - // client connection - void * connection; - + } rfcomm_channel_t; /* API_START */