wireless: make TU conversion macros available
authorJohannes Berg <johannes.berg@intel.com>
Thu, 25 Jul 2013 19:45:17 +0000 (21:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Aug 2013 09:00:59 +0000 (11:00 +0200)
commite7f1935c11269bc53cd52425b1025657adddb839
tree84bffeddf3dec06016bd0c8c53c09eb3d43a6502
parent73da7d5bab79ad7e16ff44d67c3fe8b9c0b33e5b
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>
drivers/net/wireless/iwlwifi/mvm/time-event.c
include/linux/ieee80211.h
net/mac80211/ieee80211_i.h