Thread (3 messages) flat view 3 messages, 3 authors, 2021-04-11

Re: [PATCH v2] Bluetooth: Return whether a connection is outbound

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-04-11 11:54:46
Also in: lkml, netdev

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 <redacted>
Reviewed-by: Alain Michaud <redacted>
Signed-off-by: Yu Liu <redacted>
---

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help