]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use miliseconds for L2CAP channel timeouts
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Mon, 7 Nov 2011 19:19:04 +0000 (17:19 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:19:04 +0000 (17:19 -0200)
commit122cfcc6730164ae18580fde012784ca22715830
tree16f3547858b3e515e95ab3bc54b1a716bcf20035
parentf4a3f0757966de95478130f87120f219a1e7a141
Bluetooth: Use miliseconds for L2CAP channel timeouts

Timers set by __set_chan_timer() should use miliseconds instead of
jiffies. Commit e1e2c3d21c2514f759544d950b7b2cfc2f644e51 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