android_kernel_google_msm/net/bluetooth/rfcomm
Mat Martineau a17e839acb Bluetooth: Clear RFCOMM session timer when disconnecting last channel
When the last RFCOMM data channel is closed, a timer is normally set
up to disconnect the control channel at a later time.  If the control
channel disconnect command is sent with the timer pending, the timer
needs to be cancelled.

If the timer is not cancelled in this situation, the reference
counting logic for the RFCOMM session does not work correctly when the
remote device closes the L2CAP connection.  The session is freed at
the wrong time, leading to a kernel panic.

CRs-fixed: 317859
Change-Id: I778fdf8dbff8afe0a1c157b02d39872262088584
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
2013-02-25 11:38:31 -08:00
..
core.c Bluetooth: Clear RFCOMM session timer when disconnecting last channel 2013-02-25 11:38:31 -08:00
Kconfig Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
Makefile
sock.c Revert upstream bluetooth 2013-02-25 11:37:04 -08:00
tty.c Revert upstream bluetooth 2013-02-25 11:37:04 -08:00