correct netband skip check in constructing a country ie

Approved by:	re (blanket net80211)
This commit is contained in:
sam 2007-09-17 03:48:32 +00:00
parent 44d85d753b
commit 0addef77a4

View File

@ -165,7 +165,7 @@ ieee80211_add_countryie(uint8_t *frm, struct ieee80211com *ic,
if (isset(chans, c->ic_ieee)) /* suppress dup's */
continue;
if ((c->ic_flags & skip) == 0) /* skip band, etc. */
if (c->ic_flags & skip) /* skip band, etc. */
continue;
setbit(chans, c->ic_ieee);
if (c->ic_ieee != nextchan ||