Author: bz
Date: Wed Jan  8 17:04:40 2020
New Revision: 356496
URL: https://svnweb.freebsd.org/changeset/base/356496

Log:
  MFC r348861:
  
    Enhance the comment ieee80211_add_channel() to avoid a
    misunderstanding that the function does not work additive
    when repeatedly called for diffferent bands.

Modified:
  stable/12/sys/net80211/ieee80211.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/net80211/ieee80211.c
==============================================================================
--- stable/12/sys/net80211/ieee80211.c  Wed Jan  8 17:02:58 2020        
(r356495)
+++ stable/12/sys/net80211/ieee80211.c  Wed Jan  8 17:04:40 2020        
(r356496)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to