]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Use miliseconds for L2CAP channel timeouts
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Thu, 20 Oct 2011 07:17:06 +0000 (09:17 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 31 Oct 2011 19:22:06 +0000 (17:22 -0200)
commiteecbae2a61bc2ef7767afe606c2d7f40107cfe84
tree910a732a4d029a2d0cd4a858ec43ef9da2ee21b5
parent42dceae2819b5ac6fc9a0d414ae05a8960e2a1d9
Bluetooth: Use miliseconds for L2CAP channel timeouts

Timers set by __set_chan_timer() should use miliseconds instead of
jiffies. Commit 942ecc9c4643db5ce071562e0a23f99464d6b461 updated
l2cap_set_timer() so it expects timeout to be specified in msecs
instead of jiffies. This makes timeouts unreliable when CONFIG_HZ
is not set to 1000.

Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c