Date: Sat, 18 Oct 2008 22:58:40 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 151521 for review Message-ID: <200810182258.m9IMweoT074084@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151521 Change 151521 by sam@sam_ebb on 2008/10/18 22:58:23 when joining an existing bss mark IEEE80211_NODE_ERP and setup ni_txparms appropriately; this makes ni_txparms useful in drivers where before it was set incorrectly Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_node.c#49 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_node.c#49 (text+ko) ==== @@ -749,6 +749,9 @@ /* NB: must be after ni_chan is setup */ ieee80211_setup_rates(ni, se->se_rates, se->se_xrates, IEEE80211_F_DOSORT); + if (ieee80211_iserp_rateset(&ni->ni_rates)) + ni->ni_flags |= IEEE80211_NODE_ERP; + node_setuptxparms(ni); return ieee80211_sta_join1(ieee80211_ref_node(ni)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810182258.m9IMweoT074084>