]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacb79a6dced7645ab04b8dfb970b5af8bb8611c6
treedb46868297e36a99eade39f8ea551ea548db3bdf
parent6aeb5215a4d1199145ec18226e33ad74f6439382
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