Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5dbb89e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "bta_gattc_cache: Initialize gatt_db_elemement_t permissions to 0"

parents 80b7e80d 9774be2e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1085,6 +1085,10 @@ void bta_gattc_fill_gatt_db_el(btgatt_db_element_t* p_attr,
  p_attr->end_handle = e_handle;
  p_attr->id = id;
  p_attr->properties = prop;

  // Permissions are not discoverable using the attribute protocol.
  // Core 5.0, Part F, 3.2.5 Attribute Permissions
  p_attr->permissions = 0;
  bta_to_btif_uuid(&p_attr->uuid, &uuid);
}