From fd1b2e169e4188a0d4c56e81e83e0eb30b808f14 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 4 May 2006 19:47:19 +0200 Subject: [PATCH] --- yaml --- r: 26586 b: refs/heads/master c: f21709d70ad6d7ad50288f7056c3a368138b017c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/ieee80211.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c6adc2f7cef3..8c6ccb627d3b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5b4b9775a00c20ade1b1ac8aa25e0e4059d6243e +refs/heads/master: f21709d70ad6d7ad50288f7056c3a368138b017c diff --git a/trunk/include/net/ieee80211.h b/trunk/include/net/ieee80211.h index 4725ff861c57..d5926bfb1fc9 100644 --- a/trunk/include/net/ieee80211.h +++ b/trunk/include/net/ieee80211.h @@ -955,11 +955,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),