From 4894bf58ced7fdf0f6b66686a7001c5e6dc58f0f Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Tue, 17 Jan 2017 16:58:14 +0100 Subject: [PATCH] remove set connection --- test/avdtp/avdtp_sink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/avdtp/avdtp_sink.c b/test/avdtp/avdtp_sink.c index 1654d6f7c..dfcc38d7d 100644 --- a/test/avdtp/avdtp_sink.c +++ b/test/avdtp/avdtp_sink.c @@ -555,7 +555,6 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe printf("L2CAP_EVENT_CHANNEL_OPENED: stream_endpoint not found"); return; } - stream_endpoint->connection = connection; stream_endpoint_state_machine(connection, stream_endpoint, HCI_EVENT_PACKET, L2CAP_EVENT_CHANNEL_OPENED, packet, size); break;