From: Sascha Wildner Date: Mon, 15 Nov 2010 20:08:30 +0000 (+0100) Subject: Move net.wlan.force_swcrypto out of IEEE80211_DEBUG. X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/329c87a9b0d2642e61d56ab1d7c40fe386163e31 Move net.wlan.force_swcrypto out of IEEE80211_DEBUG. This fixes kernel builds that don't have IEEE80211_DEBUG in the config (such as SOEKRIS). --- diff --git a/sys/netproto/802_11/wlan/ieee80211_dragonfly.c b/sys/netproto/802_11/wlan/ieee80211_dragonfly.c index 1f4e178e22..46dc35ed22 100644 --- a/sys/netproto/802_11/wlan/ieee80211_dragonfly.c +++ b/sys/netproto/802_11/wlan/ieee80211_dragonfly.c @@ -59,12 +59,13 @@ SYSCTL_NODE(_net, OID_AUTO, wlan, CTLFLAG_RD, 0, "IEEE 80211 parameters"); #ifdef IEEE80211_DEBUG int ieee80211_debug = 0; -int ieee80211_force_swcrypto = 0; SYSCTL_INT(_net_wlan, OID_AUTO, debug, CTLFLAG_RW, &ieee80211_debug, 0, "debugging printfs"); +#endif + +int ieee80211_force_swcrypto = 0; SYSCTL_INT(_net_wlan, OID_AUTO, force_swcrypto, CTLFLAG_RW, &ieee80211_force_swcrypto, 0, "force software crypto"); -#endif MALLOC_DEFINE(M_80211_COM, "80211com", "802.11 com state");