[PATCH BlueZ 1/2] Fix not being able to unregister player via UnregisterPlayer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

---
 audio/media.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/audio/media.c b/audio/media.c
index 8d7b65b..a7866d2 100644
--- a/audio/media.c
+++ b/audio/media.c
@@ -855,7 +855,7 @@ static struct media_player *media_adapter_find_player(
 {
 	GSList *l;
 
-	for (l = adapter->endpoints; l; l = l->next) {
+	for (l = adapter->players; l; l = l->next) {
 		struct media_player *mp = l->data;
 
 		if (sender && g_strcmp0(mp->sender, sender) != 0)
-- 
1.7.6.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux