From: Marcel Holtmann Date: Mon, 16 Feb 2009 01:57:30 +0000 (+0100) Subject: Bluetooth: Fix poll() misbehavior when using BT_DEFER_SETUP X-Git-Tag: v2.6.30-rc1~662^2~538^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5f2d2be68876f65dd051b978a7b66265fde9ffd;p=pandora-kernel.git 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 --- Reading git-diff-tree failed