svn commit: r233184 - head/sys/dev/wtap
Adrian Chadd
adrian at FreeBSD.org
Mon Mar 19 13:54:16 UTC 2012
Author: adrian
Date: Mon Mar 19 13:54:15 2012
New Revision: 233184
URL: http://svn.freebsd.org/changeset/base/233184
Log:
Remove this - it's not needed as it's defined in ieee80211_freebsd.h.
Modified:
head/sys/dev/wtap/if_wtap.c
Modified: head/sys/dev/wtap/if_wtap.c
==============================================================================
--- head/sys/dev/wtap/if_wtap.c Mon Mar 19 13:51:38 2012 (r233183)
+++ head/sys/dev/wtap/if_wtap.c Mon Mar 19 13:54:15 2012 (r233184)
@@ -305,9 +305,6 @@ wtap_bmiss(struct ieee80211vap *vap)
avp->av_bmiss(vap);
}
-/* XXX */
-#define msecs_to_ticks(ms) (((ms) * hz) / 1000)
-
static struct ieee80211vap *
wtap_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ],
int unit, enum ieee80211_opmode opmode, int flags,
@@ -349,7 +346,6 @@ wtap_vap_create(struct ieee80211com *ic,
vap->iv_bss->ni_txrate = 130;
return vap;
}
-#undef msecs_to_ticks
static void
wtap_vap_delete(struct ieee80211vap *vap)
More information about the svn-src-head
mailing list