wireless: make TU conversion macros available
authorJohannes Berg <johannes.berg@intel.com>
Thu, 25 Jul 2013 19:45:17 +0000 (21:45 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 23 Oct 2013 21:02:00 +0000 (23:02 +0200)
commit68d9a6e4e90314d0e4ad31d2926409954267f1dd
treee873870301c2473338cf2a02712bf5c47b85e558
parent93825cd65de6705e003147af8f19439649216559
wireless: make TU conversion macros available

A few places in the code (mac80211 and iwlmvm) use the same
TU_TO_JIFFIES() macro and could use TU_TO_EXP_TIME() that
mac80211 has. Make these available to everyone and use them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h