diff options
author | sam <sam@FreeBSD.org> | 2009-01-27 22:45:31 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-01-27 22:45:31 +0000 |
commit | bd93b054723086252e00cdaec62cf32464f1e38a (patch) | |
tree | 94f595b733b6a18f8023f07f6a0be9964262cc9a /sys/net80211/_ieee80211.h | |
parent | adb0cf3b1dd64d87e66a135132dec79fd11732ae (diff) | |
download | FreeBSD-src-bd93b054723086252e00cdaec62cf32464f1e38a.zip FreeBSD-src-bd93b054723086252e00cdaec62cf32464f1e38a.tar.gz |
change IEEE80211_IS_CHAN_OFDM and IEEE80211_IS_CHAN_CCK to return true
for 11g (dynamic CCK/OFDM)
Diffstat (limited to 'sys/net80211/_ieee80211.h')
-rw-r--r-- | sys/net80211/_ieee80211.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h index a6e4bfb..744d34c 100644 --- a/sys/net80211/_ieee80211.h +++ b/sys/net80211/_ieee80211.h @@ -226,9 +226,9 @@ struct ieee80211_channel { #define IEEE80211_IS_CHAN_PASSIVE(_c) \ (((_c)->ic_flags & IEEE80211_CHAN_PASSIVE) != 0) #define IEEE80211_IS_CHAN_OFDM(_c) \ - (((_c)->ic_flags & IEEE80211_CHAN_OFDM) != 0) + (((_c)->ic_flags & (IEEE80211_CHAN_OFDM | IEEE80211_CHAN_DYN)) != 0) #define IEEE80211_IS_CHAN_CCK(_c) \ - (((_c)->ic_flags & IEEE80211_CHAN_CCK) != 0) + (((_c)->ic_flags & (IEEE80211_CHAN_CCK | IEEE80211_CHAN_DYN)) != 0) #define IEEE80211_IS_CHAN_GFSK(_c) \ (((_c)->ic_flags & IEEE80211_CHAN_GFSK) != 0) #define IEEE80211_IS_CHAN_TURBO(_c) \ |