Commit ffc7a0c9 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

sdb: fix a terrible bug that somehow didn't crash earlier

parent e5d4fca6
......@@ -807,7 +807,7 @@ static eb_status_t eb_sdb_find_by_identity_real(
record.output_first = output_msi_first;
record.output_last = output_msi_last;
if (bridge) {
if (!bridge) {
if ((record.status = eb_sdb_scan_root_msi(device, &record, eb_cb_find_by_identity)) == EB_OK)
while (record.pending > 0)
eb_socket_run(eb_device_socket(device), -1);
......
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