From 373f1c121b4e96cfdc9aa93a7dacf4f427c24f9c Mon Sep 17 00:00:00 2001 From: baohongde Date: Tue, 30 Oct 2018 19:20:56 +0800 Subject: [PATCH] component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF --- components/bt/bluedroid/stack/include/stack/hcimsgs.h | 5 ++++- components/bt/lib | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/bt/bluedroid/stack/include/stack/hcimsgs.h b/components/bt/bluedroid/stack/include/stack/hcimsgs.h index c2067a2f8a..37b64c7d15 100644 --- a/components/bt/bluedroid/stack/include/stack/hcimsgs.h +++ b/components/bt/bluedroid/stack/include/stack/hcimsgs.h @@ -275,7 +275,10 @@ BOOLEAN btsnd_hcic_hold_mode(UINT16 handle, UINT16 max_hold_period, #define HCI_HOLD_MODE_MIN_PER_OFF 4 /* Hold Mode */ -/* Sniff Mode */ +/** + * Sniff Mode + * sniff_attempt should no more than 0xFF + */ BOOLEAN btsnd_hcic_sniff_mode(UINT16 handle, UINT16 max_sniff_period, UINT16 min_sniff_period, diff --git a/components/bt/lib b/components/bt/lib index c1d636cb6c..62cabd5b6f 160000 --- a/components/bt/lib +++ b/components/bt/lib @@ -1 +1 @@ -Subproject commit c1d636cb6cb718a178ea9a46f6fb68ca77f0d856 +Subproject commit 62cabd5b6f55d5a53eb4c13f628f4fd8139f535e