svn commit: r356496 - stable/12/sys/net80211
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Jan 8 17:04:40 UTC 2020
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
More information about the svn-src-stable
mailing list