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,