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
This commit is contained in:
Bjoern A. Zeeb 2019-06-10 14:31:18 +00:00
parent 440565dad1
commit cd02c6b10d

View File

@ -1386,6 +1386,8 @@ getflags(const uint8_t bands[], uint32_t flags[], int ht40, int vht80)
/*
* 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