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)
commitba13ccd9b911e043c0f11e60cbb72bd4de194205
tree7c8437d2693bfa7c438d5ddc59f329b57974c810
parentbe22b54e8711734f4cb93ac31723b955fe9dbbe0
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