From 69246fa3217c0201d0bed4d86462f757b3df01c4 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 5 Aug 2021 23:25:30 +0200 Subject: [PATCH] l2cap: mark some functions as Classic-only --- src/l2cap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/l2cap.c b/src/l2cap.c index 473656332..4df32499f 100644 --- a/src/l2cap.c +++ b/src/l2cap.c @@ -1153,7 +1153,9 @@ static l2cap_channel_t * l2cap_get_channel_for_local_cid_and_handle(uint16_t loc if (l2cap_channel->con_handle != con_handle) return NULL; return l2cap_channel; } +#endif +#ifdef ENABLE_CLASSIC void l2cap_request_can_send_now_event(uint16_t local_cid){ l2cap_channel_t *channel = l2cap_get_channel_for_local_cid(local_cid); if (!channel) return;