dbus: fix ActiveProfile setting
authorDavid Emett <dave@sp4m.net>
Sat, 27 Jul 2019 21:24:42 +0000 (22:24 +0100)
committerArun Raghavan <arun@arunraghavan.net>
Tue, 27 Aug 2019 03:21:27 +0000 (08:51 +0530)
commitb76f668253d24e5dd1b1bf865325e094ac6f05e9
tree9c956535fcc640644a9134dfb5bb9f4729d97e22
parentbdf66c4693c8775dc3c4a403cbae77a56d4b1e29
dbus: fix ActiveProfile setting

Just like with handle_set_active_port, we need to look up the profile
corresponding to the provided path rather than doing a name comparison.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/709
src/modules/dbus/iface-card.c