Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2008 15:25:51 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 148620 for review
Message-ID:  <200808271525.m7RFPpB2099945@repoman.freebsd.org>

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

Change 148620 by sam@sam_ebb on 2008/08/27 15:25:17

	be consistent in checking ni_chw

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_node.c#41 edit
.. //depot/projects/vap/sys/net80211/ieee80211_sta.c#14 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_node.c#41 (text+ko) ====

@@ -2227,7 +2227,7 @@
 	    ic->ic_flags & IEEE80211_F_USEPROT ? ", protection" : "",
 	    ni->ni_flags & IEEE80211_NODE_QOS ? ", QoS" : "",
 	    ni->ni_flags & IEEE80211_NODE_HT ?
-		(ni->ni_chw == 20 ? ", HT20" : ", HT40") : "",
+		(ni->ni_chw == 40 ? ", HT40" : ", HT20") : "",
 	    ni->ni_flags & IEEE80211_NODE_AMPDU ? " (+AMPDU)" : "",
 	    IEEE80211_ATH_CAP(vap, ni, IEEE80211_NODE_FF) ?
 		", fast-frames" : "",

==== //depot/projects/vap/sys/net80211/ieee80211_sta.c#14 (text+ko) ====

@@ -1545,7 +1545,7 @@
 		    ic->ic_flags&IEEE80211_F_USEPROT ? ", protection" : "",
 		    ni->ni_flags & IEEE80211_NODE_QOS ? ", QoS" : "",
 		    ni->ni_flags & IEEE80211_NODE_HT ?
-			(ni->ni_chw == 20 ? ", HT20" : ", HT40") : "",
+			(ni->ni_chw == 40 ? ", HT40" : ", HT20") : "",
 		    ni->ni_flags & IEEE80211_NODE_AMPDU ? " (+AMPDU)" : "",
 		    IEEE80211_ATH_CAP(vap, ni, IEEE80211_NODE_FF) ?
 			", fast-frames" : "",



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