mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-20 11:57:54 +00:00
Merge branch 'nimble/fix_uuid32_parse_adv_field' into 'nimble-1.1.0-idf'
NimBLE: Fix bug in `ble_hs_adv_parse_one_field` See merge request idf/esp-nimble!11
This commit is contained in:
@@ -594,7 +594,7 @@ ble_hs_adv_parse_one_field(struct ble_hs_adv_fields *adv_fields,
|
||||
if (rc != 0) {
|
||||
return rc;
|
||||
}
|
||||
adv_fields->uuids16_is_complete = 0;
|
||||
adv_fields->uuids32_is_complete = 0;
|
||||
break;
|
||||
|
||||
case BLE_HS_ADV_TYPE_COMP_UUIDS32:
|
||||
@@ -602,7 +602,7 @@ ble_hs_adv_parse_one_field(struct ble_hs_adv_fields *adv_fields,
|
||||
if (rc != 0) {
|
||||
return rc;
|
||||
}
|
||||
adv_fields->uuids16_is_complete = 1;
|
||||
adv_fields->uuids32_is_complete = 1;
|
||||
break;
|
||||
|
||||
case BLE_HS_ADV_TYPE_INCOMP_UUIDS128:
|
||||
|
||||
Reference in New Issue
Block a user