From: Jaikumar Ganesh Date: Tue, 3 Feb 2009 02:03:57 +0000 (-0800) Subject: Bluetooth: When encryption is dropped, do not send RFCOMM packets X-Git-Tag: v2.6.30-rc1~662^2~538^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e1031a40029492c10509e8c3dcac9b611438ccb;p=pandora-kernel.git Bluetooth: When encryption is dropped, do not send RFCOMM packets During a role change with pre-Bluetooth 2.1 devices, the remote side drops the encryption of the RFCOMM connection. We allow a grace period for the encryption to be re-established, before dropping the connection. During this grace period, the RFCOMM_SEC_PENDING flag is set. Check this flag before sending RFCOMM packets. Signed-off-by: Jaikumar Ganesh Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed