]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit17b02e625662906f370a3eb5e7495cf06ed7d4a4
treedb12888e81d5520bb050700d9179842976795f22
parentba13ccd9b911e043c0f11e60cbb72bd4de194205
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