summaryrefslogtreecommitdiff
path: root/profiles/deviceinfo
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2013-03-01 14:59:13 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2013-03-10 09:05:04 +0200
commit21723d6bfd76e4c5e5e89f553d0a78447372e6ef (patch)
tree45eec9a8a10ce36e9356b6e459fc938ef9b93842 /profiles/deviceinfo
parent48563e3d3ed04cd31432c076d5039e960167d865 (diff)
downloadbluez-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.c2
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
};