mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: backend-native: add debug log in hfp_hf_remove_disconnected_calls()
This commit is contained in:
		
							parent
							
								
									5ccd1c5619
								
							
						
					
					
						commit
						79a069c886
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1902,6 +1902,7 @@ static const struct spa_bt_telephony_ag_callbacks telephony_ag_callbacks = {
 | 
			
		|||
 | 
			
		||||
static void hfp_hf_remove_disconnected_calls(struct rfcomm *rfcomm)
 | 
			
		||||
{
 | 
			
		||||
	struct impl *backend = rfcomm->backend;
 | 
			
		||||
	struct spa_bt_telephony_call *call, *call_tmp;
 | 
			
		||||
	struct updated_call *updated_call;
 | 
			
		||||
	bool found;
 | 
			
		||||
| 
						 | 
				
			
			@ -1915,6 +1916,8 @@ static void hfp_hf_remove_disconnected_calls(struct rfcomm *rfcomm)
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		spa_log_debug(backend->log, "call %d -> %s", call->id, found ? "updated" : "disconnected");
 | 
			
		||||
 | 
			
		||||
		if (!found) {
 | 
			
		||||
			call->state = CALL_STATE_DISCONNECTED;
 | 
			
		||||
			telephony_call_notify_updated_props(call);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue