component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF

This commit is contained in:
baohongde 2018-10-30 19:20:56 +08:00 committed by bot
parent 159d4ac742
commit 373f1c121b
2 changed files with 5 additions and 2 deletions

View file

@ -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,

@ -1 +1 @@
Subproject commit c1d636cb6cb718a178ea9a46f6fb68ca77f0d856
Subproject commit 62cabd5b6f55d5a53eb4c13f628f4fd8139f535e