Re: [PATCH v3 1/2] Bluetooth: Send device found event on name resolve failure

From: Marcel Holtmann
Date: Thu Nov 25 2021 - 15:10:58 EST


Hi Archie,

> 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@xxxxxxxxxxxx>
> Reviewed-by: Miao-chen Chou <mcchou@xxxxxxxxxxxx>
>
> ---
> Hi maintainers,
>
> This is the patch series for remote name request as was discussed here.
> https://patchwork.kernel.org/project/bluetooth/patch/20211028191805.1.I35b7f3a496f834de6b43a32f94b6160cb1467c94@changeid/
> Please also review the corresponding userspace change.
>
> Thanks,
> Archie
>
> Changes in v3:
> * Reindent defines
> * Assign variables inside if block instead of initializing
>
> Changes in v2:
> * Remove the part which accepts DONT_CARE flag in MGMT_OP_CONFIRM_NAME
> * Rename MGMT constant to conform with the docs
>
> include/net/bluetooth/mgmt.h | 9 +++++----
> net/bluetooth/hci_event.c | 11 ++++-------
> net/bluetooth/mgmt.c | 12 ++++++++++--
> 3 files changed, 19 insertions(+), 13 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel