Commit: 266635500b47329d5365b8f84565e1ea9324972c
Parent: 6e564a3d4b994efb3f226ad4edd9904b238760c9
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-04-26 10:27:30
Tree: a60cbc690bb8488b4a7e91c6f02df61d94271952

device: Replace pending profile list with services Use btd_service pointers to represent the list of services pending for connection. This list doesn't reference count the btd_service instances, since the pending services should be a subset of the available services, and thus they should already be referenced by device->services. This means special care must be taken to make sure any removed service is also removed from the pending list, as addressed in remove_service().

Diffstat

M src/device.c | 38 ++++++++++++++++++- - - - - - - - - - - - - - - - - - - -

1 files changed, 18 insertions(+), 20 deletions(-)

View Full Diff | Patch