From: Johan Hedberg Date: Thu, 7 Aug 2014 19:56:44 +0000 (+0300) Subject: Bluetooth: Resume BT_CONNECTED state after LE security elevation X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~84^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d52deb17489b8155e031fb1a9f116c602d719e11;p=pandora-kernel.git Bluetooth: Resume BT_CONNECTED state after LE security elevation The LE ATT socket uses a special trick where it temporarily sets BT_CONFIG state for the duration of a security level elevation. In order to not require special hacks for going back to BT_CONNECTED state in the l2cap_core.c code the most reasonable place to resume the state is the resume callback. This patch adds a new flag to track the pending security level change and ensures that the state is set back to BT_CONNECTED in the resume callback in case the flag is set. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed