svn commit: r190381 - in head/sys: conf net80211
Sam Leffler
sam at FreeBSD.org
Tue Mar 24 10:22:13 PDT 2009
Author: sam
Date: Tue Mar 24 17:22:10 2009
New Revision: 190381
URL: http://svn.freebsd.org/changeset/base/190381
Log:
use IEEE80211_SUPPORT_TDMA option to control whether code is
configured; this allows us to remove an #ifdef
Modified:
head/sys/conf/files
head/sys/net80211/ieee80211_tdma.c
Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files Tue Mar 24 17:14:34 2009 (r190380)
+++ head/sys/conf/files Tue Mar 24 17:22:10 2009 (r190381)
@@ -2215,7 +2215,7 @@ net80211/ieee80211_rssadapt.c optional w
net80211/ieee80211_scan.c optional wlan
net80211/ieee80211_scan_sta.c optional wlan
net80211/ieee80211_sta.c optional wlan
-net80211/ieee80211_tdma.c optional wlan
+net80211/ieee80211_tdma.c optional wlan ieee80211_support_tdma
net80211/ieee80211_wds.c optional wlan
net80211/ieee80211_xauth.c optional wlan wlan_xauth
netatalk/aarp.c optional netatalk
Modified: head/sys/net80211/ieee80211_tdma.c
==============================================================================
--- head/sys/net80211/ieee80211_tdma.c Tue Mar 24 17:14:34 2009 (r190380)
+++ head/sys/net80211/ieee80211_tdma.c Tue Mar 24 17:22:10 2009 (r190381)
@@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$");
#include "opt_inet.h"
#include "opt_wlan.h"
-#ifdef IEEE80211_SUPPORT_TDMA
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@@ -787,4 +786,3 @@ ieee80211_tdma_ioctl_set80211(struct iee
}
return 0;
}
-#endif /* IEEE80211_SUPPORT_TDMA */
More information about the svn-src-head
mailing list