Skip to content
Commit 82453021 authored by S.Çağlar Onur's avatar S.Çağlar Onur Committed by David S. Miller
Browse files

[BLUETOOTH] net/bluetooth/hci_core.c: Use time_* macros



The functions time_before, time_before_eq, time_after, and
time_after_eq are more robust for comparing jiffies against other
values.

So following patch implements usage of the time_after() macro, defined
at linux/jiffies.h, which deals with wrapping correctly

Signed-off-by: default avatarS.Çağlar Onur <caglar@pardus.org.tr>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ee46e56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment