Merge branch 'bugfix/ble_mesh_ble_advtype' into 'master'

ble_mesh: update ble mesh ble adv type

See merge request espressif/esp-idf!19200
This commit is contained in:
Island 2024-01-15 17:46:21 +08:00
commit 1ad354bff3

View File

@ -895,7 +895,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;