diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> | 2012-01-04 15:10:42 +0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 19:01:21 +0400 |
commit | b83ddfe2ac670392c27a799371bb1a7e14a7e3d3 (patch) | |
tree | 08d590b04b84860e3d29944e176d79d00f165cf6 /include/net/bluetooth/hci.h | |
parent | 6423cf3a1862d5b162aaa13543bf69216a9f6ac0 (diff) | |
download | linux-b83ddfe2ac670392c27a799371bb1a7e14a7e3d3.tar.xz |
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>
Diffstat (limited to 'include/net/bluetooth/hci.h')
0 files changed, 0 insertions, 0 deletions