OSDN Git Service

device: Replace pending profile list with services
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 26 Apr 2013 06:17:14 +0000 (08:17 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 26 Apr 2013 07:27:30 +0000 (10:27 +0300)
commit266635500b47329d5365b8f84565e1ea9324972c
treea60cbc690bb8488b4a7e91c6f02df61d94271952
parent6e564a3d4b994efb3f226ad4edd9904b238760c9
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().
src/device.c