]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: Return whether a connection is outbound
authorYu Liu <yudiliu@google.com>
Fri, 9 Apr 2021 22:04:06 +0000 (15:04 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 May 2021 13:20:29 +0000 (15:20 +0200)
commitdec709145dfc91f85696b9a724f416aa15163d62
tree2c282f9da786d7462dbcdb2176b43170922ad639
parentb877c48bb6c98f7ee6852746b79c07cadbcabb31
Bluetooth: Return whether a connection is outbound

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@chromium.org>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Yu Liu <yudiliu@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c