From 0e6f3837b05f0042a70c9c204a407d32dd21d7cc Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 13 Jan 2017 18:32:02 +0100 Subject: [PATCH] hci: mark more code as Classic only --- src/hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hci.c b/src/hci.c index 563e3db69..b9fa1a823 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1861,6 +1861,7 @@ static void event_handler(uint8_t *packet, int size){ } break; +#ifdef ENABLE_CLASSIC case HCI_EVENT_ROLE_CHANGE: if (packet[2]) break; // status != 0 handle = little_endian_read_16(packet, 3); @@ -1868,6 +1869,7 @@ static void event_handler(uint8_t *packet, int size){ if (!conn) break; // no conn conn->role = packet[9]; break; +#endif case HCI_EVENT_TRANSPORT_PACKET_SENT: // release packet buffer only for asynchronous transport and if there are not further fragements