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