diff options
author | sam <sam@FreeBSD.org> | 2007-09-17 03:48:32 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-09-17 03:48:32 +0000 |
commit | 0addef77a4ac8daf4fd81ae47168dac23c7d87bd (patch) | |
tree | 8b9b0de7bb3ede39053c46d8ac78ab0482592a2f /sys/net80211/ieee80211_regdomain.c | |
parent | 44d85d753b560261dfa90581a0e631b16bbc0021 (diff) | |
download | FreeBSD-src-0addef77a4ac8daf4fd81ae47168dac23c7d87bd.zip FreeBSD-src-0addef77a4ac8daf4fd81ae47168dac23c7d87bd.tar.gz |
correct netband skip check in constructing a country ie
Approved by: re (blanket net80211)
Diffstat (limited to 'sys/net80211/ieee80211_regdomain.c')
-rw-r--r-- | sys/net80211/ieee80211_regdomain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_regdomain.c b/sys/net80211/ieee80211_regdomain.c index 25368b0..7f1b3dc 100644 --- a/sys/net80211/ieee80211_regdomain.c +++ b/sys/net80211/ieee80211_regdomain.c @@ -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 || |