From 07cec557302ac811f68f3aa0591caddac74a0de9 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 9 Oct 2018 17:52:17 +0200 Subject: [PATCH] goep_client: fix build by disabling ENABLE_GOEP_L2CAP --- src/classic/goep_client.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/classic/goep_client.c b/src/classic/goep_client.c index 20b140ffa..9d92a1185 100644 --- a/src/classic/goep_client.c +++ b/src/classic/goep_client.c @@ -60,7 +60,13 @@ // goep_client.c // -#define ENABLE_GOEP_L2CAP +// #define ENABLE_GOEP_L2CAP + +#ifdef ENABLE_GOEP_L2CAP +#ifndef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE +#error "ENABLE_GOEP_L2CAP requires ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE. Please enable ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE or disable ENABLE_GOEP_L2CAP" +#endif +#endif typedef enum { GOEP_INIT,