diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-08-08 09:28:04 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-08-14 08:49:15 +0200 |
commit | 79a0572736ad4b9cac7be72d4402f9c79db8ebaf (patch) | |
tree | 23ebc2c4451232c257ac0173971383487f549168 /net/bluetooth/hci_core.c | |
parent | 72847ce02180e8a0be1b23ba53ffe437cdb25d6a (diff) |
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 <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions