]> 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)
commit56b138a18f45fa501664ed98124c2acde3339523
tree7c8437d2693bfa7c438d5ddc59f329b57974c810
parent40f3f41f6621f69ffcd5d472f517cb736c5b4fe0
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