mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -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) {
 | 
										for (iep = 0; iep < idesc->bNumEndpoints; ++iep) {
 | 
				
			||||||
						const struct libusb_endpoint_descriptor *ep = &idesc->endpoint[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;
 | 
												ok = true;
 | 
				
			||||||
							goto done;
 | 
												goto done;
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue