mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
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:
parent
a6137f861b
commit
a96aec1cee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user