| commit | 197a7ee077494814c38771e02a056c87e7f4310f | [log] [tgz] |
|---|---|---|
| author | Myles Watson <mylesgw@google.com> | Thu Mar 30 04:51:24 2023 +0000 |
| committer | Myles Watson <mylesgw@google.com> | Thu Mar 30 04:51:27 2023 +0000 |
| tree | bb3dfb6637947a78bca6f9444600bec03483c82b | |
| parent | 8dc1779ab857814f74a31103f139bb789443999c [diff] |
[RootCanal] Disable READ_DEFAULT_ERRONEOUS_DATA_REPORTING on old rootcanal It's not supported here, breaking GSI tests. Bug: b/275596201 Test: presubmit (cherry picked from https://android-review.googlesource.com/q/commit:54cf6c666a6915befbd4fc0af8dcc8c3b027e549) Merged-In: Idaf41bdaf05720879912bc6f092d75503f0fdcf3 Change-Id: Ib7c67a37b60de0c2a99d6e50aa81c6750ddddfba
diff --git a/tools/rootcanal/model/devices/device_properties.cc b/tools/rootcanal/model/devices/device_properties.cc index a2bade6..7204a0a 100644 --- a/tools/rootcanal/model/devices/device_properties.cc +++ b/tools/rootcanal/model/devices/device_properties.cc
@@ -74,6 +74,8 @@ // Use SetSupportedComands() to change what's supported. for (int i = 35; i < 64; i++) supported_commands_[i] = 0x00; + supported_commands_[18] &= ~(1 << 2); + le_supported_states_ = 0x3ffffffffff; le_vendor_cap_ = {};