correct netband skip check in constructing a country ie

Approved by:	re (blanket net80211)
This commit is contained in:
Sam Leffler 2007-09-17 03:48:32 +00:00
parent 0dc12c958a
commit 5ef9cd6c92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172204

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 ||