From owner-svn-src-head@FreeBSD.ORG Thu Mar 26 19:07:56 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94FA1065673; Thu, 26 Mar 2009 19:07:56 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C7D438FC1A; Thu, 26 Mar 2009 19:07:56 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2QJ7uP5029390; Thu, 26 Mar 2009 19:07:56 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2QJ7utA029389; Thu, 26 Mar 2009 19:07:56 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200903261907.n2QJ7utA029389@svn.freebsd.org> From: Sam Leffler Date: Thu, 26 Mar 2009 19:07:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190450 - head/sys/net80211 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 19:07:57 -0000 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; }