Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 17:41:02 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149886 for review
Message-ID:  <200809161741.m8GHf2I1048302@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149886

Change 149886 by sam@sam_ebb on 2008/09/16 17:40:27

	fix build w/o IEEE80211_DEBUG

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ht.c#53 edit

Differences ...

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

@@ -1205,7 +1205,6 @@
 htinfo_update_chw(struct ieee80211_node *ni, int htflags)
 {
 	struct ieee80211com *ic = ni->ni_ic;
-	struct ieee80211vap *vap = ni->ni_vap;
 	struct ieee80211_channel *c;
 	int chanflags;
 
@@ -1220,7 +1219,7 @@
 			 */
 			c = findhtchan(ic, ni->ni_chan, IEEE80211_CHAN_HT20);
 #if 0
-			IEEE80211_NOTE(vap,
+			IEEE80211_NOTE(ni->ni_vap,
 			    IEEE80211_MSG_ASSOC | IEEE80211_MSG_11N, ni,
 			    "no HT40 channel (freq %u), falling back to HT20",
 			    ni->ni_chan->ic_freq);
@@ -1228,7 +1227,7 @@
 			/* XXX stat */
 		}
 		if (c != NULL && c != ni->ni_chan) {
-			IEEE80211_NOTE(vap,
+			IEEE80211_NOTE(ni->ni_vap,
 			    IEEE80211_MSG_ASSOC | IEEE80211_MSG_11N, ni,
 			    "switch station to HT%d channel %u/0x%x",
 			    IEEE80211_IS_CHAN_HT40(c) ? 40 : 20,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809161741.m8GHf2I1048302>