Bluetooth: Fix crash when monitor timeout expires
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:41 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:50 +0000 (09:28 +0200)
commit0ee0d20855ae9271de3f6695f4cafc08ab2533bb
tree2f3c1401a15d0b73b0ae21d527161972e5c773b3
parentf6e6b16823de0aff31cb8ee8c098383e3aceec58
Bluetooth: Fix crash when monitor timeout expires

The code was crashing due to a invalid access to hci_conn after the
channel disconnect.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c