2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/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
..
bnep Bluetooth: Access BNEP session addresses through L2CAP channel 2013-10-13 20:00:35 +03:00
cmtp Bluetooth: Access CMTP session addresses through L2CAP channel 2013-10-13 20:00:30 +03:00
hidp Bluetooth: Access HIDP session addresses through L2CAP channel 2013-10-13 20:00:33 +03:00
rfcomm Bluetooth: Store RFCOMM address information in its own socket structure 2013-10-13 21:11:23 +03:00
a2mp.c Bluetooth: Extend state_change() call to report errors too 2013-10-15 16:42:44 -07:00
a2mp.h Bluetooth: Move a2mp.h header file into net/bluetooth/ 2013-10-11 00:10:05 +02:00
af_bluetooth.c Bluetooth: Adjust header for proc socket information 2013-10-14 14:20:50 +03:00
amp.c Bluetooth: Remove l2cap_conn->dst usage from AMP manager 2013-10-13 17:43:32 +03:00
amp.h Bluetooth: Move amp.h header file into net/bluetooth/ 2013-10-11 00:10:03 +02:00
hci_conn.c Bluetooth: Store source address of HCI connections 2013-10-13 17:47:37 +03:00
hci_core.c Bluetooth: Update class of device on discoverable timeout 2013-10-15 21:28:42 +03:00
hci_event.c Bluetooth: Move eir_get_length() function into hci_event.c 2013-10-15 21:28:38 +03:00
hci_sock.c Bluetooth: Move skb->dev assignment for hdev->send into central place 2013-10-11 00:10:09 +02:00
hci_sysfs.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
Kconfig Bluetooth: trivial: Remove newline before EOF 2012-10-24 00:42:47 -02:00
l2cap_core.c Bluetooth: Extend state_change() call to report errors too 2013-10-15 16:42:44 -07:00
l2cap_sock.c Bluetooth: Extend state_change() call to report errors too 2013-10-15 16:42:44 -07:00
lib.c bluetooth: Remove unneeded batostr function 2012-09-27 18:10:43 -03:00
Makefile Bluetooth: Enable -D__CHECK_ENDIAN__ for sparse by default 2013-10-02 09:10:05 +03:00
mgmt.c Bluetooth: Update class of device on discoverable timeout 2013-10-15 21:28:42 +03:00
sco.c Bluetooth: Store SCO address information in its own socket structure 2013-10-13 21:11:20 +03:00
smp.c Bluetooth: Fix coding style violations in SMP handling 2013-10-13 17:48:49 +03:00
smp.h Bluetooth: Move smp.h header file into net/bluetooth/ 2013-10-11 00:10:07 +02:00