linux/include/net/bluetooth
Dean Jenkins e432c72c46 Bluetooth: __l2cap_wait_ack() add defensive timeout
Add a timeout to prevent the do while loop running in an
infinite loop. This ensures that the channel will be
instructed to close within 10 seconds so prevents
l2cap_sock_shutdown() getting stuck forever.

Returns -ENOLINK when the timeout is reached. The channel
will be subequently closed and not all data will be ACK'ed.

Signed-off-by: Dean Jenkins <Dean_Jenkins@mentor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-07-23 17:10:51 +02:00
..
bluetooth.h Bluetooth: Move SCO support under BT_BREDR config option 2015-06-09 13:41:36 +02:00
hci_core.h Bluetooth: hci_core: increase max adv inst 2015-06-18 18:11:53 +02:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci_sock.h Bluetooth: Move HCI socket definitions into its own header file 2014-07-11 13:53:04 +03:00
hci.h Bluetooth: Read encryption key size for BR/EDR connections 2015-06-12 11:38:45 +02:00
l2cap.h Bluetooth: __l2cap_wait_ack() add defensive timeout 2015-07-23 17:10:51 +02:00
mgmt.h Bluetooth: Add macros for advertising instance flags 2015-03-26 03:30:28 +01:00
rfcomm.h Bluetooth: Remove duplicate constant for RFCOMM PSM 2014-12-20 19:55:04 +02:00
sco.h Bluetooth: Move SCO timeout constants into net/bluetooth/sco.c 2014-07-11 13:58:58 +03:00