svn commit: r348861 - head/sys/net80211

Bjoern A. Zeeb bz at FreeBSD.org
Mon Jun 10 14:31:19 UTC 2019


Author: bz
Date: Mon Jun 10 14:31:18 2019
New Revision: 348861
URL: https://svnweb.freebsd.org/changeset/base/348861

Log:
  Enhance the comment ieee80211_add_channel() to avoid a
  misunderstanding that the function does not work additive
  when repeatedly called for diffferent bands.
  
  Reviewed by:	avos (a few months ago)
  MFC after:	2 weeks

Modified:
  head/sys/net80211/ieee80211.c

Modified: head/sys/net80211/ieee80211.c
==============================================================================
--- head/sys/net80211/ieee80211.c	Mon Jun 10 13:46:36 2019	(r348860)
+++ head/sys/net80211/ieee80211.c	Mon Jun 10 14:31:18 2019	(r348861)
@@ -1386,6 +1386,8 @@ getflags(const uint8_t bands[], uint32_t flags[], int 
 
 /*
  * Add one 20 MHz channel into specified channel list.
+ * You MUST NOT mix bands when calling this.  It will not add 5ghz
+ * channels if you have any B/G/N band bit set.
  */
 /* XXX VHT */
 int


More information about the svn-src-head mailing list