Merge r3372 from madwifi-dfs

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4050 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2009-06-25 00:47:42 +00:00
parent a6137f861b
commit a96aec1cee

View File

@ -706,7 +706,8 @@ ieee80211_find_channel(struct ieee80211com *ic, int freq, int flags)
c = &ic->ic_channels[i];
if (c->ic_freq == freq &&
(flags == 0 ||
(c->ic_flags & IEEE80211_CHAN_ALLTURBO) == flags))
(c->ic_flags & IEEE80211_CHAN_ALLTURBO) ==
(flags & IEEE80211_CHAN_ALLTURBO)))
return c;
}
return NULL;