Author: sam Date: Thu Mar 26 19:07:56 2009 New Revision: 190450 URL: http://svn.freebsd.org/changeset/base/190450
Log: dynamic turbo mode is only implemented in sta mode; don't enable it for other operating modes based on the capability Modified: head/sys/net80211/ieee80211_superg.c Modified: head/sys/net80211/ieee80211_superg.c ============================================================================== --- head/sys/net80211/ieee80211_superg.c Thu Mar 26 19:06:00 2009 (r190449) +++ head/sys/net80211/ieee80211_superg.c Thu Mar 26 19:07:56 2009 (r190450) @@ -65,7 +65,9 @@ ieee80211_superg_vattach(struct ieee8021 { if (vap->iv_caps & IEEE80211_C_FF) vap->iv_flags |= IEEE80211_F_FF; - if (vap->iv_caps & IEEE80211_C_TURBOP) + /* NB: we only implement sta mode */ + if (vap->iv_opmode == IEEE80211_M_STA && + (vap->iv_caps & IEEE80211_C_TURBOP)) vap->iv_flags |= IEEE80211_F_TURBOP; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"