diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2016-03-30 00:44:10 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2016-03-30 00:44:10 +0000 |
commit | b8e29e065deb63aa9613887f1549da8b4d16b451 (patch) | |
tree | df65cb26e2548cb616b101e51279c3d1ae57af32 /sys/dev/ath | |
parent | 275b79bd9b0f5eccd911116392799059a22c4860 (diff) | |
download | src-b8e29e065deb63aa9613887f1549da8b4d16b451.tar.gz src-b8e29e065deb63aa9613887f1549da8b4d16b451.zip |
[net80211] migrate the time_* macros to ieee80211_* namespace.
It turns out that these will clash very annoyingly with the linux
macros in the linuxkpi layer, so let the wookie^Wlinux win.
The only user that I can find is ath(4), so fix it there too.
Notes
Notes:
svn path=/head/; revision=297405
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath_lna_div.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_lna_div.c b/sys/dev/ath/if_ath_lna_div.c index f0a33a5036ef..5c770c0e8b22 100644 --- a/sys/dev/ath/if_ath_lna_div.c +++ b/sys/dev/ath/if_ath_lna_div.c @@ -766,7 +766,7 @@ ath_lna_rx_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs, /* Short scan check */ if (antcomb->scan && antcomb->alt_good) { - if (time_after(ticks, antcomb->scan_start_time + + if (ieee80211_time_after(ticks, antcomb->scan_start_time + msecs_to_jiffies(ATH_ANT_DIV_COMB_SHORT_SCAN_INTR))) short_scan = AH_TRUE; else |