svn commit: r297733 - head/sys/net80211

Bjoern A. Zeeb bz at FreeBSD.org
Sat Apr 9 09:31:30 UTC 2016


Author: bz
Date: Sat Apr  9 09:31:28 2016
New Revision: 297733
URL: https://svnweb.freebsd.org/changeset/base/297733

Log:
  Try to unbreak the build: the 'vap' variable is only used if ieee80211
  debugging compile is on.

Modified:
  head/sys/net80211/ieee80211_node.c

Modified: head/sys/net80211/ieee80211_node.c
==============================================================================
--- head/sys/net80211/ieee80211_node.c	Sat Apr  9 09:24:05 2016	(r297732)
+++ head/sys/net80211/ieee80211_node.c	Sat Apr  9 09:31:28 2016	(r297733)
@@ -599,8 +599,8 @@ ieee80211_ibss_merge_check(struct ieee80
 int
 ieee80211_ibss_merge(struct ieee80211_node *ni)
 {
-	struct ieee80211vap *vap = ni->ni_vap;
 #ifdef IEEE80211_DEBUG
+	struct ieee80211vap *vap = ni->ni_vap;
 	struct ieee80211com *ic = ni->ni_ic;
 #endif
 


More information about the svn-src-head mailing list