]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update L2CAP timeout constants to use msecs_to_jiffies
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Mar 2012 22:25:33 +0000 (14:25 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 1 Mar 2012 22:33:14 +0000 (00:33 +0200)
commit2e479efdc75a26ee7f0794e129b9959472f178e3
tree7c8437d2693bfa7c438d5ddc59f329b57974c810
parent0d67253fdf32d0739e4436b78fd2c782c1c49318
Bluetooth: Update L2CAP timeout constants to use msecs_to_jiffies

The L2CAP timeout constants are always used in form of jiffies. So just
include the conversion from msecs in the define itself. This has the
advantage of making the code where the timeout is used more readable.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c