linux/net/bluetooth
Andrzej Kaczmarek b83ddfe2ac Bluetooth: l2cap_set_timer needs jiffies as timeout value
After moving L2CAP timers to workqueues l2cap_set_timer expects timeout
value to be specified in jiffies but constants defined in miliseconds
are used. This makes timeouts unreliable when CONFIG_HZ is not set to
1000.

__set_chan_timer macro still uses jiffies as input to avoid multiple
conversions from/to jiffies for sk_sndtimeo value which is already
specified in jiffies.

Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Ackec-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2012-02-13 17:01:21 +02:00
..
bnep Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-01-03 15:16:34 -05:00
cmtp Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
hidp Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
rfcomm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
Kconfig Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
af_bluetooth.c Bluetooth: Remove *_bh from socket list lock. 2012-01-02 22:20:24 -02:00
hci_conn.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2011-12-23 17:13:56 -05:00
hci_core.c Bluetooth: Add name resolving support for mgmt based discovery 2012-02-13 17:01:20 +02:00
hci_event.c Bluetooth: Process num completed data blocks event 2012-02-13 17:01:20 +02:00
hci_sock.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
hci_sysfs.c Bluetooth: Rename hdev->inq_cache to hdev->discovery 2012-02-13 17:01:20 +02:00
l2cap_core.c Bluetooth: l2cap_set_timer needs jiffies as timeout value 2012-02-13 17:01:21 +02:00
l2cap_sock.c Bluetooth: Fix sk_sndtimeo initialization for L2CAP socket 2012-02-13 17:01:21 +02:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
mgmt.c Bluetooth: Add name resolving support for mgmt based discovery 2012-02-13 17:01:20 +02:00
sco.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2012-01-10 15:44:17 -05:00
smp.c Bluetooth: Incorrect address while storing LTK. 2011-12-23 16:55:06 -02:00