Date: Mon, 19 Mar 2007 10:56:53 GMT From: Sepherosa Ziehau <sephe@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 116130 for review Message-ID: <200703191056.l2JAurjS077842@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=116130 Change 116130 by sephe@sephe_zealot:sam_wifi on 2007/03/19 10:56:26 Correct the condition of setting short slot time subfield in assoc/reassoc req, so shslot-capable NIC will not be counted as shslot-encapable NIC. Reviewed-by: sam@ Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_output.c#69 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_output.c#69 (text+ko) ==== @@ -1765,7 +1765,7 @@ if ((ic->ic_flags & IEEE80211_F_SHPREAMBLE) && IEEE80211_IS_CHAN_2GHZ(ic->ic_curchan)) capinfo |= IEEE80211_CAPINFO_SHORT_PREAMBLE; - if ((ni->ni_capinfo & IEEE80211_CAPINFO_SHORT_SLOTTIME) && + if (IEEE80211_IS_CHAN_ANYG(ic->ic_curchan) && (ic->ic_caps & IEEE80211_C_SHSLOT)) capinfo |= IEEE80211_CAPINFO_SHORT_SLOTTIME; *(u_int16_t *)frm = htole16(capinfo);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703191056.l2JAurjS077842>