commit | d5f2d2be68876f65dd051b978a7b66265fde9ffd | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Mon Feb 16 02:57:30 2009 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Feb 27 06:14:46 2009 +0100 |
tree | bb2a9023185a8d4812dfc99634c041fddcfc64e5 | |
parent | 96a3183322cba1a2846771b067c99b9d6f481263 [diff] |
Bluetooth: Fix poll() misbehavior when using BT_DEFER_SETUP When BT_DEFER_SETUP has been enabled on a Bluetooth socket it keeps signaling POLLIN all the time. This is a wrong behavior. The POLLIN should only be signaled if the client socket is in BT_CONNECT2 state and the parent has been BT_DEFER_SETUP enabled. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>