Merge branch 'bugfix/ble_mesh_ble_advtype_v5.2' into 'release/v5.2'

ble_mesh: update ble mesh ble adv type(backport v5.2)

See merge request espressif/esp-idf!28916
This commit is contained in:
Jiang Jiang Jian 2024-02-21 11:05:21 +08:00
commit 8a0132aacf

View File

@ -919,7 +919,7 @@ int bt_mesh_ble_adv_start(const struct bt_mesh_ble_adv_param *param,
break;
case BLE_MESH_ADV_NONCONN_IND:
adv_params.conn_mode = BLE_GAP_CONN_MODE_NON;
adv_params.disc_mode = BLE_GAP_DISC_MODE_GEN;
adv_params.disc_mode = BLE_GAP_DISC_MODE_NON;
break;
case BLE_MESH_ADV_DIRECT_IND_LOW_DUTY:
adv_params.conn_mode = BLE_GAP_CONN_MODE_DIR;