Commit 0da60392 authored by Adam Langley's avatar Adam Langley Committed by Commit Bot

cablev2: only send one batch to AOA devices.

We already skipped splitting batches for caBLE devices, but AOA is a
different transport. But it needs the same accommodation.

BUG=1002262

Change-Id: I1dbe58516464ba1cd1294327b4b42f277e16e949
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463810
Commit-Queue: Adam Langley <agl@chromium.org>
Reviewed-by: default avatarMartin Kreichgauer <martinkr@google.com>
Cr-Commit-Position: refs/heads/master@{#816797}
parent 44dbe757
......@@ -359,8 +359,9 @@ FilterAndBatchCredentialDescriptors(
DCHECK_EQ(device.supported_protocol(), ProtocolVersion::kCtap2);
DCHECK(device.device_info().has_value());
if (device.DeviceTransport() ==
FidoTransportProtocol::kCloudAssistedBluetoothLowEnergy) {
const auto transport = device.DeviceTransport();
if (transport == FidoTransportProtocol::kCloudAssistedBluetoothLowEnergy ||
transport == FidoTransportProtocol::kAndroidAccessory) {
// caBLE devices might not support silent probing, so just put everything
// into one batch that can will be sent in a non-probing request.
return {in};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment