aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
authorArchie Pusaka <[email protected]>2021-11-25 07:04:37 +0000
committerMarcel Holtmann <[email protected]>2021-11-25 20:08:19 +0000
commitdbf6811abbfcc79d3cd5ce1ff53fe1c741167a1f (patch)
treed75ef3450375b082509aea55b3a63486a9f5f49c /net/bluetooth/hci_request.c
parentBluetooth: Send device found event on name resolve failure (diff)
downloadkernel-dbf6811abbfcc79d3cd5ce1ff53fe1c741167a1f.tar.gz
kernel-dbf6811abbfcc79d3cd5ce1ff53fe1c741167a1f.zip
Bluetooth: Limit duration of Remote Name Resolve
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 <[email protected]> Reviewed-by: Miao-chen Chou <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions