Re: [PATCH] Update gatt listen mode.

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

 



Hi André,

On Mon, Feb 07, 2011, Andre Dieb Martins wrote:
> Update gatt's listen-mode flag whenever connect_cb() is called again.
> ---
>  attrib/client.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/attrib/client.c b/attrib/client.c
> index 44638d3..ec5fcf2 100644
> --- a/attrib/client.c
> +++ b/attrib/client.c
> @@ -356,6 +356,7 @@ static int l2cap_connect(struct gatt_service *gatt, GError **gerr,
>  
>  	if (gatt->attrib != NULL) {
>  		gatt->attrib = g_attrib_ref(gatt->attrib);
> +		gatt->listen = listen;
>  		return 0;
>  	}

Thanks. The patch has been pushed upstream.

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