summaryrefslogtreecommitdiff
path: root/lib/bt/host/bluedroid/hci/hci_layer.c
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2025-07-25 13:33:07 +1000
committerjacqueline <me@jacqueline.id.au>2025-07-25 13:33:07 +1000
commitc8e79a926620e48830778714cfe4b2ea2453fcaf (patch)
tree8c756e08e01b8e147cf72bec128026f46bd854c5 /lib/bt/host/bluedroid/hci/hci_layer.c
parent237136f3e93cb6b5be24670d7520adb17cc0fa36 (diff)
downloadtangara-fw-c8e79a926620e48830778714cfe4b2ea2453fcaf.tar.gz
Update forked idf components
Diffstat (limited to 'lib/bt/host/bluedroid/hci/hci_layer.c')
-rw-r--r--lib/bt/host/bluedroid/hci/hci_layer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bt/host/bluedroid/hci/hci_layer.c b/lib/bt/host/bluedroid/hci/hci_layer.c
index c9f1f5e3..e5cd263f 100644
--- a/lib/bt/host/bluedroid/hci/hci_layer.c
+++ b/lib/bt/host/bluedroid/hci/hci_layer.c
@@ -537,9 +537,11 @@ static void dispatch_adv_report(pkt_linked_item_t *linked_pkt)
//Tell Up-layer received packet.
if (btu_task_post(SIG_BTU_HCI_ADV_RPT_MSG, linked_pkt, OSI_THREAD_MAX_TIMEOUT) == false) {
osi_free(linked_pkt);
+#if (BLE_42_SCAN_EN == TRUE)
#if (BLE_ADV_REPORT_FLOW_CONTROL == TRUE)
hci_adv_credits_try_release(1);
#endif
+#endif // #if (BLE_42_SCAN_EN == TRUE)
}
}
// Misc internal functions