PERFORCE change 136121 for review

Sam Leffler sam at FreeBSD.org
Sun Feb 24 20:29:25 UTC 2008


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

Change 136121 by sam at sam_ebb on 2008/02/24 20:29:00

	fix building w/o IEEE80211_DEBUG

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_adhoc.c#9 edit
.. //depot/projects/vap/sys/net80211/ieee80211_ht.c#17 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_adhoc.c#9 (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;
 

==== //depot/projects/vap/sys/net80211/ieee80211_ht.c#17 (text+ko) ====

@@ -1792,9 +1792,7 @@
 	frm[1] = (v) >> 8;			\
 	frm += 2;				\
 } while (0)
-#ifdef IEEE80211_DEBUG
 	struct ieee80211vap *vap = ni->ni_vap;
-#endif
 	struct ieee80211com *ic = ni->ni_ic;
 	struct mbuf *m;
 	uint8_t *frm;


More information about the p4-projects mailing list