mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-11-04 19:42:47 +00:00
NimBLE: Fix bug in ble_hs_adv_parse_one_field
This commit is contained in:
committed by
Hrishikesh Dhayagude
parent
4f96f4cc35
commit
27b1a2dd1a
@@ -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