Re: [PATCH] Bluetooth: Resume advertising after LE connection

From: Marcel Holtmann
Date: Mon Nov 09 2020 - 07:33:19 EST


Hi Daniel,

> When an LE connection request is made, advertising is disabled and never
> resumed. When a client has an active advertisement, this is disruptive.
> This change adds resume logic for client-configured (non-directed)
> advertisements after the connection attempt.
>
> The patch was tested by registering an advertisement, initiating an LE
> connection from a remote peer, and verifying that the advertisement is
> re-activated after the connection is established. This is performed on
> Hatch and Kukui Chromebooks.
>
> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@xxxxxxxxxxxx>
> Signed-off-by: Daniel Winkler <danielwinkler@xxxxxxxxxx>

in the future, please sure that the originator Signed-off-by comes first and
the Reviewed-by lines after it

> ---
>
> net/bluetooth/hci_conn.c | 12 ++++++++++--
> net/bluetooth/hci_request.c | 21 ++++++++++++++++-----
> net/bluetooth/hci_request.h | 2 ++
> 3 files changed, 28 insertions(+), 7 deletions(-)

Patch has been applied to bluetooth-next tree.

Regards

Marcel