mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: warn on EAGAIN after POLLOUT
This commit is contained in:
		
							parent
							
								
									7dabe051cd
								
							
						
					
					
						commit
						e93c6c36fe
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -1351,6 +1351,9 @@ static void thread_func(void *userdata) {
 | 
				
			||||||
                            goto fail;
 | 
					                            goto fail;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    if (n_written == 0)
 | 
				
			||||||
 | 
					                        pa_log("Broken kernel: we got EAGAIN on write() after POLLOUT!");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    do_write -= n_written;
 | 
					                    do_write -= n_written;
 | 
				
			||||||
                    writable = FALSE;
 | 
					                    writable = FALSE;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue