diff options
author | Easwar Hariharan <eahariha@linux.microsoft.com> | 2025-02-19 22:51:31 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-03-25 12:40:31 -0400 |
commit | 3f0a819e8c4f8c83c584f7b035488d3ae16c0704 (patch) | |
tree | fe4e6407517d582d1d97c41a3b64c76af0ebe8e8 /net | |
parent | e3e627e6b218fbc8c1b277c008a901cc70524fcc (diff) | |
download | linux-3f0a819e8c4f8c83c584f7b035488d3ae16c0704.tar.gz linux-3f0a819e8c4f8c83c584f7b035488d3ae16c0704.tar.bz2 linux-3f0a819e8c4f8c83c584f7b035488d3ae16c0704.zip |
Bluetooth: SMP: convert timeouts to secs_to_jiffies()
Commit b35108a51cf7 ("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: Easwar Hariharan <eahariha@linux.microsoft.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 8b9724fd752a..a31c6acf1df2 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c @@ -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) |