diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2013-03-01 14:59:13 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-03-10 09:05:04 +0200 |
commit | 21723d6bfd76e4c5e5e89f553d0a78447372e6ef (patch) | |
tree | 45eec9a8a10ce36e9356b6e459fc938ef9b93842 /profiles/deviceinfo | |
parent | 48563e3d3ed04cd31432c076d5039e960167d865 (diff) | |
download | bluez-21723d6bfd76e4c5e5e89f553d0a78447372e6ef.tar.gz |
profile: Limit to one remote UUID per profile
The code can be considerably simplified by constraining struct
btd_profile to one single remote UUID.
Diffstat (limited to 'profiles/deviceinfo')
-rw-r--r-- | profiles/deviceinfo/deviceinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c index fb423fa44..471241b85 100644 --- a/profiles/deviceinfo/deviceinfo.c +++ b/profiles/deviceinfo/deviceinfo.c @@ -219,7 +219,7 @@ static void deviceinfo_driver_remove(struct btd_profile *p, static struct btd_profile deviceinfo_profile = { .name = "deviceinfo", - .remote_uuids = BTD_UUIDS(DEVICE_INFORMATION_UUID), + .remote_uuid = DEVICE_INFORMATION_UUID, .device_probe = deviceinfo_driver_probe, .device_remove = deviceinfo_driver_remove }; |