diff options
author | 2006-05-05 16:56:24 -0400 | |
---|---|---|
committer | 2006-05-05 16:56:24 -0400 | |
commit | fd5226a72694d1c0abe1cc39711a86f1754e637d (patch) | |
tree | 1d90b27c392fb2ef9859f2652dee7640916ed806 /include/net/ieee80211.h | |
parent | Merge branch 'from-linus' into upstream (diff) | |
parent | [PATCH] bcm43xx: Fix access to non-existent PHY registers (diff) | |
download | linux-fd5226a72694d1c0abe1cc39711a86f1754e637d.tar.gz linux-fd5226a72694d1c0abe1cc39711a86f1754e637d.tar.bz2 linux-fd5226a72694d1c0abe1cc39711a86f1754e637d.zip |
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'include/net/ieee80211.h')
-rw-r--r-- | include/net/ieee80211.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 4087dfc47094..293e920ca59d 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h @@ -958,11 +958,13 @@ enum ieee80211_state { #define IEEE80211_24GHZ_MIN_CHANNEL 1 #define IEEE80211_24GHZ_MAX_CHANNEL 14 -#define IEEE80211_24GHZ_CHANNELS 14 +#define IEEE80211_24GHZ_CHANNELS (IEEE80211_24GHZ_MAX_CHANNEL - \ + IEEE80211_24GHZ_MIN_CHANNEL + 1) #define IEEE80211_52GHZ_MIN_CHANNEL 34 #define IEEE80211_52GHZ_MAX_CHANNEL 165 -#define IEEE80211_52GHZ_CHANNELS 131 +#define IEEE80211_52GHZ_CHANNELS (IEEE80211_52GHZ_MAX_CHANNEL - \ + IEEE80211_52GHZ_MIN_CHANNEL + 1) enum { IEEE80211_CH_PASSIVE_ONLY = (1 << 0), |