Skip to content
Commit d5f2d2be authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

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: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 96a31833
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment