Re: [PATCH BlueZ 1/4] audio/player: Fix checking wrong flag

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

 



Hi,

On Thu, Aug 18, 2016 at 3:45 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> 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

Applied.


-- 
Luiz Augusto von Dentz
--
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