alistair23-linux/include/net/bluetooth
Gustavo Padovan 53f5212121 Bluetooth: Extend state_change() call to report errors too
Instead of creating an new function pointer to report errors we are just
reusing state_change for that and there is a simple reason for this, one
place in the l2cap_core.c code needs, in a locked sk, set both the sk_state
and sk_err. If we create two different functions for this we would need to
release the lock between the two operation putting the socket in non
desired state.

The change is transparent to the l2cap_core.c code, user that only needs
to set the state won't need any modification.

This is another step of an ongoing work to make l2cap_core.c totally
independent from l2cap's struct sock.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2013-10-15 16:42:44 -07:00
..
bluetooth.h Bluetooth: Provide msg_name callback for L2CAP connectionless channels 2013-10-13 23:13:37 +03:00
hci.h Bluetooth: Add HCI command structure for writing current IAC LAP 2013-10-15 18:44:24 +03:00
hci_core.h Bluetooth: Update class of device on discoverable timeout 2013-10-15 21:28:42 +03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
l2cap.h Bluetooth: Extend state_change() call to report errors too 2013-10-15 16:42:44 -07:00
mgmt.h Bluetooth: Add management command for setting LE scan parameters 2013-10-11 18:18:13 +02:00
rfcomm.h Bluetooth: Store RFCOMM address information in its own socket structure 2013-10-13 21:11:23 +03:00
sco.h Bluetooth: Store SCO address information in its own socket structure 2013-10-13 21:11:20 +03:00