mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: deal with old libusb versions
This commit is contained in:
parent
9d38d375d2
commit
b98b9e0e77
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ static bool check_usb_altsetting_6(struct impl *backend, uint16_t vendor_id, uin
|
|||
|
||||
for (iep = 0; iep < idesc->bNumEndpoints; ++iep) {
|
||||
const struct libusb_endpoint_descriptor *ep = &idesc->endpoint[iep];
|
||||
if ((ep->bmAttributes & 0x3) == LIBUSB_ENDPOINT_TRANSFER_TYPE_ISOCHRONOUS) {
|
||||
if ((ep->bmAttributes & 0x3) == 0x1 /* isochronous */) {
|
||||
ok = true;
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue