mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: backend-native: Fix hangup of waiting call
3-way incoming calls are created in waiting state. When those calls are hang-up before being active, the +CIEV: (callsetup = 0) should also be managed for waiting calls.
This commit is contained in:
		
							parent
							
								
									afa7ebc032
								
							
						
					
					
						commit
						27fecd3c56
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2088,7 +2088,7 @@ static bool rfcomm_hfp_hf(struct rfcomm *rfcomm, char* token)
 | 
			
		|||
					struct spa_bt_telephony_call *call, *tcall;
 | 
			
		||||
					spa_list_for_each_safe(call, tcall, &rfcomm->telephony_ag->call_list, link) {
 | 
			
		||||
						if (call->state == CALL_STATE_DIALING || call->state == CALL_STATE_ALERTING ||
 | 
			
		||||
						    call->state == CALL_STATE_INCOMING) {
 | 
			
		||||
						    call->state == CALL_STATE_INCOMING || call->state == CALL_STATE_WAITING) {
 | 
			
		||||
							call->state = CALL_STATE_DISCONNECTED;
 | 
			
		||||
							telephony_call_notify_updated_props(call);
 | 
			
		||||
							telephony_call_destroy(call);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue