Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 07:00:46 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244078 - head/sys/net80211
Message-ID:  <201212100700.qBA70kO7047079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Dec 10 07:00:46 2012
New Revision: 244078
URL: http://svnweb.freebsd.org/changeset/base/244078

Log:
  Adjust the channel to correctly setup the HT flags when transitioning
  an IBSS VAP to RUN.
  
  An 11n IBSS was beaconing HTINFO/HTCAP IE's that didn't have any HT
  information setup (like the HT TX/RX MCS bitmask.)
  
  Tested:
  
  * AR9280, IBSS - both a statically setup channel and a scanned channel
  
  PR:		kern/172955

Modified:
  head/sys/net80211/ieee80211_adhoc.c

Modified: head/sys/net80211/ieee80211_adhoc.c
==============================================================================
--- head/sys/net80211/ieee80211_adhoc.c	Mon Dec 10 05:14:34 2012	(r244077)
+++ head/sys/net80211/ieee80211_adhoc.c	Mon Dec 10 07:00:46 2012	(r244078)
@@ -171,7 +171,9 @@ adhoc_newstate(struct ieee80211vap *vap,
 				 * Already have a channel; bypass the
 				 * scan and startup immediately.
 				 */
-				ieee80211_create_ibss(vap, vap->iv_des_chan);
+				ieee80211_create_ibss(vap,
+				    ieee80211_ht_adjust_channel(ic,
+				    vap->iv_des_chan, vap->iv_flags_ht));
 				break;
 			}
 			/*



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