mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: backend-ofono: Fix SCO nodes not created on oFono's CardAdded
oFono's CardAdded signal from can occur after BlueZ's ServicesResolved signal. In this case the device is created without SCO nodes. This is fixed by not enforcing device creation on ServicesResolved signal.
This commit is contained in:
		
							parent
							
								
									18da8fd21f
								
							
						
					
					
						commit
						ebdaac160c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -773,7 +773,7 @@ static int device_update_props(struct spa_bt_device *device,
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			else if (strcmp(key, "ServicesResolved") == 0) {
 | 
								else if (strcmp(key, "ServicesResolved") == 0) {
 | 
				
			||||||
				if (value)
 | 
									if (value)
 | 
				
			||||||
					spa_bt_device_check_profiles(device, true);
 | 
										spa_bt_device_check_profiles(device, false);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else if (strcmp(key, "UUIDs") == 0) {
 | 
							else if (strcmp(key, "UUIDs") == 0) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue