correct netband skip check in constructing a country ie
Approved by: re (blanket net80211)
This commit is contained in:
parent
44d85d753b
commit
0addef77a4
@ -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 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user