Bluetooth: Zero bredr pointer when chan is deleted
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 15 Oct 2012 08:58:44 +0000 (11:58 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 15 Oct 2012 12:49:58 +0000 (09:49 -0300)
commit56f6098441adb9487f6e0439429fc536afcf9e71
tree464c810ab1efb3f5ddf0a69f1a5556b55ad55b5d
parent79de886d9c40be1d82d414ccc5640268c705af39
Bluetooth: Zero bredr pointer when chan is deleted

If BREDR L2CAP chan is deleted and this chan is the channel through
which High Speed traffic is routed to AMP then zero pointer to
the chan in amp_mgr to prevent accessing it.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c