From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> media_player_set_searchable should check searchable flag not browsable. --- profiles/audio/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/player.c b/profiles/audio/player.c index 465bff5..9d638fc 100644 --- a/profiles/audio/player.c +++ b/profiles/audio/player.c @@ -1406,7 +1406,7 @@ void media_player_set_browsable(struct media_player *mp, bool enabled) void media_player_set_searchable(struct media_player *mp, bool enabled) { - if (mp->browsable == enabled) + if (mp->searchable == enabled) return; DBG("%s", enabled ? "true" : "false"); -- 2.7.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