android_kernel_google_msm/include/net/bluetooth
Mat Martineau bbe15d54ea Bluetooth: Lock sockets when closing HCI device
When a Bluetooth device is powered down while RFCOMM connections are
open, there are race conditions where RFCOMM tries to use an HCI
connection after the data structures have been deleted.  Since the
powerdown procedure runs in process context, it is possible to lock
sockets before accessing them to close connections.  This change adds
that locking, which will serialize socket access between processors
during powerdown.

Change-Id: I587720799b35d9ee6e66340bdeda8a2b9e2ea7b5
CRs-fixed: 336893
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
2013-02-25 11:39:09 -08:00
..
amp.h Bluetooth: Use hci dev number as AMP controller ID 2013-02-25 11:38:34 -08:00
bluetooth.h Bluetooth: Support for writing hci flush timeout parameter. 2013-02-25 11:38:52 -08:00
hci.h Bluetooth: Support for writing hci flush timeout parameter. 2013-02-25 11:38:52 -08:00
hci_core.h Bluetooth: Lock sockets when closing HCI device 2013-02-25 11:39:09 -08:00
l2cap.h Bluetooth: Use seperate socket for LE ATT Server 2013-02-25 11:39:06 -08:00
mgmt.h Bluetooth: Reading remote device lmp_version from controller. 2013-02-25 11:38:54 -08:00
rfcomm.h Revert upstream bluetooth 2013-02-25 11:37:04 -08:00
sco.h Bluetooth: Added support for HFP 1.6 Wide Band Speech 2013-02-25 11:37:47 -08:00
smp.h Bluetooth: Fix LE Pairing time-out 2013-02-25 11:38:07 -08:00