fix boardd reconnect loop (#22081)

* fix boardd reconnect loop

* add that back
old-commit-hash: 0e3462e051
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent 0b185aea54
commit 7611b94e51
  1. 1
      selfdrive/boardd/panda.cc

@ -57,6 +57,7 @@ Panda::Panda(std::string serial) {
dev_handle = NULL;
}
}
if (dev_handle == NULL) goto fail;
libusb_free_device_list(dev_list, 1);
if (libusb_kernel_driver_active(dev_handle, 0) == 1) {

Loading…
Cancel
Save