Commit 3f0a819e authored by Easwar Hariharan's avatar Easwar Hariharan Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: SMP: convert timeouts to secs_to_jiffies()



Commit b35108a5 ("jiffies: Define secs_to_jiffies()") introduced
secs_to_jiffies().  As the value here is a multiple of 1000, use
secs_to_jiffies() instead of msecs_to_jiffies() for readability.

Signed-off-by: default avatarEaswar Hariharan <eahariha@linux.microsoft.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent e3e627e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@
/* Keys which are not distributed with Secure Connections */
#define SMP_SC_NO_DIST (SMP_DIST_ENC_KEY | SMP_DIST_LINK_KEY)

#define SMP_TIMEOUT	msecs_to_jiffies(30000)
#define SMP_TIMEOUT	secs_to_jiffies(30)

#define ID_ADDR_TIMEOUT	msecs_to_jiffies(200)