Skip to content

Commit

Permalink
Merge branch 'fix/idfgh-12762_v4.4' into 'release/v4.4'
Browse files Browse the repository at this point in the history
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v4.4)

See merge request espressif/esp-idf!30733
  • Loading branch information
Isl2017 committed May 10, 2024
2 parents 2faabba + d4aa5c8 commit 1b42fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/bt/esp_ble_mesh/mesh_core/provisioner_prov.c
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ static void prov_capabilities(const uint8_t idx, const uint8_t *data)

algorithms = sys_get_be16(&data[1]);
BT_INFO("Algorithms: 0x%04x", algorithms);
if (algorithms != BIT(PROV_ALG_P256)) {
if (!(algorithms & BIT(PROV_ALG_P256))) {
BT_ERR("Invalid algorithms 0x%04x", algorithms);
goto fail;
}
Expand Down

0 comments on commit 1b42fee

Please sign in to comment.