drop connection from rfcomm_channel and rfcomm_service

This commit is contained in:
Matthias Ringwald 2015-11-13 22:57:38 +01:00
parent 96585c7d12
commit 9f3b2b8a86
2 changed files with 1 additions and 8 deletions

View File

@ -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);
}

View File

@ -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 */