Bluetooth: Use miliseconds for L2CAP channel timeouts
authorAndrzej Kaczmarek <[email protected]>
Mon, 7 Nov 2011 19:19:04 +0000 (17:19 -0200)
committerGustavo F. Padovan <[email protected]>
Mon, 7 Nov 2011 19:19:04 +0000 (17:19 -0200)
commitf3f668b0ef4399b67e60e4c10a30099d630a6206
tree16f3547858b3e515e95ab3bc54b1a716bcf20035
parent4dff523a913197e3314c7b0d08734ab037709093
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 <[email protected]>
Signed-off-by: Gustavo F. Padovan <[email protected]>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c