From be5001946fb6e2cbdacb5fdf1273814b6c01ff55 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 22 Jun 2020 16:42:44 +0200 Subject: [PATCH] hci: mark hci_handle_remote_features_xxx functions as Classic only --- src/hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hci.c b/src/hci.c index ccb9b4b5b..05ee1d6fd 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1906,6 +1906,7 @@ static void hci_handle_connection_failed(hci_connection_t * conn, uint8_t status #endif } +#ifdef ENABLE_CLASSIC static void hci_handle_remote_features_page_0(hci_connection_t * conn, const uint8_t * features){ // SSP Controller if (features[6] & (1 << 3)){ @@ -1946,6 +1947,7 @@ static void hci_handle_remote_features_received(hci_connection_t * conn){ conn->bonding_flags |= BONDING_SEND_AUTHENTICATE_REQUEST; } } +#endif static void handle_event_for_current_stack_state(const uint8_t * packet, uint16_t size) { // handle BT initialization