diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-02-21 00:20:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:58 -0500 |
commit | 68798a62634e58e01d6f1de509b253dcb40625bd (patch) | |
tree | 8008fb442c9ac2b2ada2ce7bdd5dfdcb67003359 | |
parent | 69b1572bd82046cc8f730e05c797062ca8c2b535 (diff) |
cfg80211: enable active-scan / beaconing on Ch 1-11 for world regdom
This enables active scan and beaconing on Channels 1 through 11
on the static world regulatory domain.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/wireless/reg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 3bd2ea2aeccb..85c2c31721ec 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c | |||
@@ -76,9 +76,8 @@ static const struct ieee80211_regdomain world_regdom = { | |||
76 | .n_reg_rules = 1, | 76 | .n_reg_rules = 1, |
77 | .alpha2 = "00", | 77 | .alpha2 = "00", |
78 | .reg_rules = { | 78 | .reg_rules = { |
79 | REG_RULE(2412-10, 2462+10, 40, 6, 20, | 79 | /* IEEE 802.11b/g, channels 1..11 */ |
80 | NL80211_RRF_PASSIVE_SCAN | | 80 | REG_RULE(2412-10, 2462+10, 40, 6, 20, 0), |
81 | NL80211_RRF_NO_IBSS), | ||
82 | } | 81 | } |
83 | }; | 82 | }; |
84 | 83 | ||