With this patch, btdev is taking into accoung inquiry_lenght from hci inquiry command. Inquiry session will last that long unless number of devices parameter has been provided different then 0
fa34a2d emulator: Add handling inquiry_lenght from inquiry command
emulator/btdev.c | 40 ++++++++++++++++++++++++++++++++++++----
1 file changed, 36 insertions(+), 4 deletions(-)
Upstream: git.kernel.org