Skip to content
Snippets Groups Projects
Commit ab46623e authored by S.Çağlar Onur's avatar S.Çağlar Onur Committed by John W. Linville
Browse files

net/mac80211/: 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

Cc: linux-wireless@vger.kernel.org
Signed-off-by: default avatarS.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ac2bf324
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment