aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hostapd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-21 17:45:20 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-21 17:45:20 (GMT)
commitd52e94f9653cc05a8884888044250d15c4d52697 (patch)
tree501927f9618a2f4f48f4115b5846a511f83a3949 /hostapd/hostapd.c
parentd337b6fb65b05d69d53eccb5e645afd5f1e8f71a (diff)
downloadhostap-06-d52e94f9653cc05a8884888044250d15c4d52697.zip
hostap-06-d52e94f9653cc05a8884888044250d15c4d52697.tar.gz
hostap-06-d52e94f9653cc05a8884888044250d15c4d52697.tar.bz2
Removed partial IEEE 802.11h implementation
This code was not finished and did not work with the current mac80211 design. In order to avoid confusing users, it is better to remove this completely for now and look at new implementation to work with mac80211.
Diffstat (limited to 'hostapd/hostapd.c')
-rw-r--r--hostapd/hostapd.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index 889f81e..9f6b168 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1618,12 +1618,11 @@ static int setup_interface1(struct hostapd_iface *iface)
return -1;
}
- if (hapd->iconf->ieee80211d || hapd->iconf->ieee80211h) {
- if (hostapd_set_ieee80211d(hapd, 1) < 0) {
- printf("Failed to set ieee80211d (%d)\n",
- hapd->iconf->ieee80211d);
- return -1;
- }
+ if (hapd->iconf->ieee80211d &&
+ hostapd_set_ieee80211d(hapd, 1) < 0) {
+ printf("Failed to set ieee80211d (%d)\n",
+ hapd->iconf->ieee80211d);
+ return -1;
}
if (hapd->iconf->bridge_packets != INTERNAL_BRIDGE_DO_NOT_CONTROL &&