Re: [PATCH 05/13] AVRCP: Register AVRCP before MEDIA interface

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

 



Hi Michal,

On Wed, Jun 6, 2012 at 7:06 PM, Michal Labedzki
<michal.labedzki@xxxxxxxxx> wrote:
> Register AVRCP before MEDIA interface to avoid searching for or
> accessing non-existent AVRCP server.
> ---
>  audio/manager.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/audio/manager.c b/audio/manager.c
> index d442d1d..076346a 100644
> --- a/audio/manager.c
> +++ b/audio/manager.c
> @@ -1238,6 +1238,9 @@ proceed:
>        if (enabled.socket)
>                unix_init();
>
> +       if (enabled.control)
> +               btd_register_adapter_driver(&avrcp_server_driver);
> +
>        if (enabled.media)
>                btd_register_adapter_driver(&media_server_driver);
>
> @@ -1250,9 +1253,6 @@ proceed:
>        if (enabled.source || enabled.sink)
>                btd_register_adapter_driver(&a2dp_server_driver);
>
> -       if (enabled.control)
> -               btd_register_adapter_driver(&avrcp_server_driver);
> -
>        btd_register_device_driver(&audio_driver);
>
>        *enable_sco = (enabled.gateway || enabled.headset);
> --
> on behalf of ST-Ericsson

Ack


-- 
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