• Marcel Holtmann's avatar
    [Bluetooth] Fix non-blocking socket race conditions · f26ab3da
    Marcel Holtmann authored
    A poll on a non-blocking listen socket signals readable too early. The
    first time the socket should be readable is if a child is in connected
    state. And don't signal writeable if the socket is in config state.
    
    Noticed by Jean Tourrilhes <jt@hpl.hp.com>
    f26ab3da
af_bluetooth.c 8.09 KB