svn commit: r244078 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Mon Dec 10 07:00:47 UTC 2012


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;
 			}
 			/*


More information about the svn-src-head mailing list