浏览代码

Merge branch 'bugfix/btdm_adv_stop' into 'master'

component/bt : fix adv stop bug

fix advertising cannot stop bug.

See merge request !412

Wu Jian Gang 9 年之前
父节点
当前提交
9052c6e9ee
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      components/bt/bluedroid/stack/btm/btm_ble_gap.c

+ 0 - 1
components/bt/bluedroid/stack/btm/btm_ble_gap.c

@@ -1089,7 +1089,6 @@ tBTM_STATUS BTM_BleSetAdvParamsStartAdv(UINT16 adv_int_min, UINT16 adv_int_max,
     p_cb->adv_chnl_map = chnl_map;
     p_addr_cb->own_addr_type = own_bda_type;
     p_cb->evt_type = adv_type;
-    p_cb->adv_mode = BTM_BLE_ADV_ENABLE;
     p_cb->afp = afp;
 
     if (p_dir_bda) {