Thread (4 messages) flat view 4 messages, 2 authors, 2021-11-25

Re: [PATCH v3 2/2] Bluetooth: Limit duration of Remote Name Resolve

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-11-25 20:11:28
Also in: lkml, netdev

Hi Archie,
When doing remote name request, we cannot scan. In the normal case it's
OK since we can expect it to finish within a short amount of time.
However, there is a possibility to scan lots of devices that
(1) requires Remote Name Resolve
(2) is unresponsive to Remote Name Resolve
When this happens, we are stuck to do Remote Name Resolve until all is
done before continue scanning.

This patch adds a time limit to stop us spending too long on remote
name request.

Signed-off-by: Archie Pusaka <redacted>
Reviewed-by: Miao-chen Chou <redacted>

---

Changes in v3:
* Add units in comment
* change debug log to warn

include/net/bluetooth/hci_core.h | 3 +++
net/bluetooth/hci_event.c        | 7 +++++++
2 files changed, 10 insertions(+)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help