From: Johan Hedberg Date: Fri, 8 Aug 2014 06:28:04 +0000 (+0300) Subject: Bluetooth: Call l2cap_le_conn_ready after notifying channels X-Git-Tag: fixes-against-v3.18-rc2~81^2~133^2~84^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a0572736ad4b9cac7be72d4402f9c79db8ebaf;p=pandora-kernel.git Bluetooth: Call l2cap_le_conn_ready after notifying channels For most cases it makes no difference whether l2cap_le_conn_ready() is called before or after calling the channel ready() callbacks, however for upcoming SMP code we need this as the ready() callback initializes certain structures that a call to smp_conn_security() from l2cap_le_conn_ready() depends on. Therefore, move the call to l2cap_le_conn_ready() after iterating through and notifying channels. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed