bluez5-device: use get_profile_direction
authorWim Taymans <wim.taymans@gmail.com>
Fri, 24 Oct 2014 07:56:49 +0000 (09:56 +0200)
committerArun Raghavan <arun@accosted.net>
Fri, 31 Oct 2014 05:16:10 +0000 (10:46 +0530)
commit2251085ddacd780163ed2d84194aff3a0d5153f7
tree8022968df21220d6e9c6e8436677d2eba84de484
parent8718496d1497ea32ef83a46a30625cac096d9f95
bluez5-device: use get_profile_direction

Use the get_profile_direction() helper function to decide when to add a
source and a sink instead of enumerating profiles.
src/modules/bluetooth/module-bluez5-device.c