Commit: 47bcbd6c5628890d8c75e2cf2633fe048e7569dd
Parent: cd3f438989ca7eaf4c88d7827e1c94a0af2aa666
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-01-28 02:02:04
Tree: e156c918ef22fb2cc4e071ccfb2e9f8d6e656830

media: Fix custom property registration for multiple adapters The function btd_profile_add_custom_prop register a custom property for an UUID which is valid for every adapter so its user_data cannot be tied to a single adapter. To fix this now NULL is passed as user_data and the callbacks checks if the adapter passed has been registered and if there is an endpoint for the UUID requested.

Diffstat

M profiles/audio/media.c | 27 +++++++++++++++++++++++- - - -

1 files changed, 23 insertions(+), 4 deletions(-)

View Full Diff | Patch