]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update MGMT and SMP timeout constants to use msecs_to_jiffies
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Mar 2012 22:32:37 +0000 (14:32 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 1 Mar 2012 22:35:57 +0000 (00:35 +0200)
commitb4cdb9d1f66f4711340208c3a010a66f9688cbe8
treedb12888e81d5520bb050700d9179842976795f22
parent2e479efdc75a26ee7f0794e129b9959472f178e3
Bluetooth: Update MGMT and SMP timeout constants to use msecs_to_jiffies

The MGMT and SMP 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>
net/bluetooth/mgmt.c
net/bluetooth/smp.c