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
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to