All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tyszkowski Jakub <jakub.tyszkowski@tieto.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] emulator/btdev: Fix not disabling le advertising on connection
Date: Thu, 28 Aug 2014 11:03:52 +0200	[thread overview]
Message-ID: <53FEF078.3060304@tieto.com> (raw)
In-Reply-To: <1408964932-9690-1-git-send-email-jakub.tyszkowski@tieto.com>

On 08/25/2014 01:08 PM, Jakub Tyszkowski wrote:
> Le Advertising should be disabled after the le connection is
> established (Core Spec. 4.1 - Part E, Sec. 7.8.9). Not doing so
> results in errors while switching advertisement multiple times during
> different connection states.
> ---
>   emulator/btdev.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/emulator/btdev.c b/emulator/btdev.c
> index b09f8cb..86fd3d9 100644
> --- a/emulator/btdev.c
> +++ b/emulator/btdev.c
> @@ -1023,6 +1023,7 @@ static void le_conn_complete(struct btdev *btdev,
>
>   		btdev->conn = remote;
>   		remote->conn = btdev;
> +		remote->le_adv_enable = 0;
>
>   		cc->status = status;
>   		cc->peer_addr_type = btdev->le_scan_own_addr_type;
>
  ping

  reply	other threads:[~2014-08-28  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 11:08 [PATCH] emulator/btdev: Fix not disabling le advertising on connection Jakub Tyszkowski
2014-08-28  9:03 ` Tyszkowski Jakub [this message]
2014-09-01 12:18 ` Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53FEF078.3060304@tieto.com \
    --to=jakub.tyszkowski@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.