OSDN Git Service

Bluetooth: Send device found event on name resolve failure
authorArchie Pusaka <apusaka@chromium.org>
Thu, 25 Nov 2021 07:04:36 +0000 (15:04 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Nov 2021 20:08:19 +0000 (21:08 +0100)
commitea13aed5e5dfbabd166759aaf9f4af3cb804875a
treedb46868297e36a99eade39f8ea551ea548db3bdf
parent7978656caf2ad3963fb63797128ec8d71caa2798
Bluetooth: Send device found event on name resolve failure

Introducing NAME_REQUEST_FAILED flag that will be sent together with
device found event on name resolve failure. This will provide the
userspace with an information so it can decide not to resolve the
name for these devices in the future.

Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/mgmt.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c