OpenCloudOS-Kernel/include/net/bluetooth
Johan Hedberg 765c2a964b Bluetooth: Fix race condition with conn->sec_level
The conn->sec_level value is supposed to represent the current level of
security that the connection has. However, by assigning to it before
requesting authentication it will have the wrong value during the
authentication procedure. To fix this a pending_sec_level variable is
added which is used to track the desired security level while making
sure that sec_level always represents the current level of security.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-01-19 14:43:11 -02:00
..
bluetooth.h Bluetooth: Make hci_send_to_sock usable for management control sockets 2010-12-07 23:03:39 -02:00
hci.h Bluetooth: Add Bluetooth Management interface definitions 2010-12-07 22:59:54 -02:00
hci_core.h Bluetooth: Fix race condition with conn->sec_level 2011-01-19 14:43:11 -02:00
l2cap.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
mgmt.h Bluetooth: Add management events for controller addition & removal 2010-12-22 22:58:00 -02:00
rfcomm.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
sco.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00