[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <8E072277-ED4D-408F-BE6B-A3C6E17A7BA6@holtmann.org>
Date: Sun, 11 Apr 2021 13:54:40 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Yu Liu <yudiliu@...gle.com>
Cc: linux-bluetooth <linux-bluetooth@...r.kernel.org>,
CrosBT Upstreaming <chromeos-bluetooth-upstreaming@...omium.org>,
Miao-chen Chou <mcchou@...omium.org>,
Alain Michaud <alainm@...omium.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2] Bluetooth: Return whether a connection is outbound
Hi Yu,
> When an MGMT_EV_DEVICE_CONNECTED event is reported back to the user
> space we will set the flags to tell if the established connection is
> outbound or not. This is useful for the user space to log better metrics
> and error messages.
>
> Reviewed-by: Miao-chen Chou <mcchou@...omium.org>
> Reviewed-by: Alain Michaud <alainm@...omium.org>
> Signed-off-by: Yu Liu <yudiliu@...gle.com>
> ---
>
> Changes in v2:
> - Defined the bit as MGMT_DEV_FOUND_INITIATED_CONN
>
> Changes in v1:
> - Initial change
>
> include/net/bluetooth/hci_core.h | 2 +-
> include/net/bluetooth/mgmt.h | 1 +
> net/bluetooth/hci_event.c | 8 ++++----
> net/bluetooth/l2cap_core.c | 2 +-
> net/bluetooth/mgmt.c | 6 +++++-
> 5 files changed, 12 insertions(+), 7 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists