Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 04:03:41 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 87498 for review
Message-ID:  <200511300403.jAU43fHH083686@repoman.freebsd.org>

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

Change 87498 by sam@sam_ebb on 2005/11/30 04:03:07

	update only the slot time capability based on rcvd beacons;
	was copying all of capinfo

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_input.c#69 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_input.c#69 (text+ko) ====

@@ -2127,7 +2127,8 @@
 				ieee80211_set_shortslottime(ic,
 					IEEE80211_IS_CHAN_A(ic->ic_bsschan) ||
 					(scan.capinfo & IEEE80211_CAPINFO_SHORT_SLOTTIME));
-				ni->ni_capinfo = scan.capinfo;
+				ni->ni_capinfo = (ni->ni_capinfo &~ IEEE80211_CAPINFO_SHORT_SLOTTIME)
+					       | (scan.capinfo & IEEE80211_CAPINFO_SHORT_SLOTTIME);
 				/* XXX statistic */
 			}
 			if (scan.wme != NULL &&



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