PERFORCE change 134259 for review

Sam Leffler sam at FreeBSD.org
Sun Jan 27 15:54:23 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=134259

Change 134259 by sam at sam_ebb on 2008/01/27 23:53:24

	silence compiler complaint when built w/o IEEE80211_DEBUG

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_adhoc.c#4 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_adhoc.c#4 (text+ko) ====

@@ -99,7 +99,9 @@
 static int
 adhoc_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
 {
+#ifdef IEEE80211_DEBUG
 	struct ieee80211com *ic = vap->iv_ic;
+#endif
 	struct ieee80211_node *ni;
 	enum ieee80211_state ostate;
 


More information about the p4-projects mailing list