Commit: c9548ebacf2560876ac7093e3744c3c06fdcb1cd
Parent: 17dac2f0379d558cb5d209d8c5d2e1334cadc04a
Author: Santiago Carot-Nemesio <sancane@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-01-09 14:28:29
Tree: 1c91fd03a17de011b6c2c357e312f0fed6c5d7e5

gatt-service: Delete attributes when service registration fails Whenever a regitration operation fails, the attributes stored in the data base of handles remain. This patches removes all attributes registered by a service when the operation is not succesful. In this way, either all service attributes are registered or none of them are stored in the data base.

Diffstat

M attrib/gatt-service.c | 29 +++++++++++++++++++++++++- - - -

1 files changed, 25 insertions(+), 4 deletions(-)

View Full Diff | Patch