diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-08-08 09:28:03 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-08-14 08:49:15 +0200 |
commit | 72847ce02180e8a0be1b23ba53ffe437cdb25d6a (patch) | |
tree | 09564eb642ae64ff9ecc966c5946568a2f9d769a /net/ipv4 | |
parent | 148243087b3a5d95a32825da26858dc9d893b141 (diff) |
Bluetooth: Call L2CAP teardown callback before clearing chan->conn
L2CAP channel implementations may want to still access the chan->conn
pointer. This will particularly be the case for SMP that will want to
clear a reference to the SMP channel in the l2cap_conn structure. The
only user of the teardown callback so far is l2cap_sock.c and for the
code there it makes no difference whether the callback is called before
or after clearing the chan->conn pointer.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions