]> 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>
Fri, 9 Apr 2021 19:50:10 +0000 (21:50 +0200)
commit33091df75602beb36bb649e26fcbf07c9d934c82
tree54e8aa769064beaba4e207429c9b716928f9f151
parentd82f3ceb722f02ce8ca03907b4fb188b4a489b23
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