mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
Merge branch 'fix/idfgh-12762_v4.4' into 'release/v4.4'
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v4.4) See merge request espressif/esp-idf!30733
This commit is contained in:
commit
1b42fee4f0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user