mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 12:40:42 +00:00
windows-winusb: ignore virtual Bluetooth adapter provided by VMware (compile fix)
This commit is contained in:
parent
9d31f827ed
commit
784eb10cc7
@ -944,9 +944,9 @@ static int usb_try_open_device(const char * device_path){
|
|||||||
if (!result) goto exit_on_error;
|
if (!result) goto exit_on_error;
|
||||||
|
|
||||||
// ignore virtual Bluetooth adapter of VMware
|
// ignore virtual Bluetooth adapter of VMware
|
||||||
if (usb_is_vmware_bluetooth_adapter(device_path) {
|
if (usb_is_vmware_bluetooth_adapter(device_path)) {
|
||||||
log_info("Ignoring simulated VMware Bluetooth adapter");
|
log_info("Ignoring simulated VMware Bluetooth adapter");
|
||||||
usb_free_resources();
|
usb_free_resources();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user