mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
libusb-intel: exit on firmware download failure
This commit is contained in:
parent
1beba4d4b3
commit
c3030cec79
@ -162,6 +162,10 @@ static void intel_firmware_done(int result){
|
|||||||
|
|
||||||
printf("Done %x\n", result);
|
printf("Done %x\n", result);
|
||||||
|
|
||||||
|
if (result != 0){
|
||||||
|
exit(result);
|
||||||
|
}
|
||||||
|
|
||||||
intel_firmware_loaded = 1;
|
intel_firmware_loaded = 1;
|
||||||
|
|
||||||
// init HCI
|
// init HCI
|
||||||
|
Loading…
Reference in New Issue
Block a user