From d1506fdae07ee1e691d71aadd85af82869c04535 Mon Sep 17 00:00:00 2001 From: DerfJagged <24844708+DerfJagged@users.noreply.github.com> Date: Mon, 22 Jun 2020 08:24:55 -0500 Subject: [PATCH] Support for more Bluetooth HID devices Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages. (IDFGH-3515) Signed-off-by: liqigan Merges https://github.com/espressif/esp-idf/pull/5481 Closes https://github.com/espressif/esp-idf/issues/5470 --- components/bt/host/bluedroid/stack/btm/btm_acl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/components/bt/host/bluedroid/stack/btm/btm_acl.c b/components/bt/host/bluedroid/stack/btm/btm_acl.c index 0a99840f5..3a4b0b962 100644 --- a/components/bt/host/bluedroid/stack/btm/btm_acl.c +++ b/components/bt/host/bluedroid/stack/btm/btm_acl.c @@ -1140,7 +1140,6 @@ void btm_read_remote_ext_features_complete (UINT8 *p) if (max_page > HCI_EXT_FEATURES_PAGE_MAX) { BTM_TRACE_ERROR("btm_read_remote_ext_features_complete page=%d unknown", max_page); - return; } p_acl_cb = &btm_cb.acl_db[acl_idx];