Merge branch 'bugfix/btdm_fix_stop_adv_no_callback_when_adv_has_been_stoped' into 'master'

Component/bt: fix stop adv no callback when adv has already stoped

See merge request !1838
This commit is contained in:
Jiang Jiang Jian
2018-01-26 20:37:12 +08:00
3 changed files with 44 additions and 11 deletions
@@ -150,6 +150,7 @@ typedef struct {
tBTM_START_ADV_CMPL_CBACK *p_adv_cb;
tBTM_START_STOP_ADV_CMPL_CBACK *p_stop_adv_cb;
tBLE_ADDR_TYPE adv_addr_type;
BOOLEAN adv_callback_twice;
UINT8 evt_type;
UINT8 adv_mode;
tBLE_BD_ADDR direct_bda;