]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cfg80211: enable active-scan / beaconing on Ch 1-11 for world regdom
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 21 Feb 2009 05:20:37 +0000 (00:20 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:58 +0000 (14:52 -0500)
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>
net/wireless/reg.c

index 3bd2ea2aeccb93d620163c9b840cc1d381ca5d1a..85c2c31721ec0f269b3b9a54f6034ba8c597b75c 100644 (file)
@@ -76,9 +76,8 @@ static const struct ieee80211_regdomain world_regdom = {
        .n_reg_rules = 1,
        .alpha2 =  "00",
        .reg_rules = {
-               REG_RULE(2412-10, 2462+10, 40, 6, 20,
-                       NL80211_RRF_PASSIVE_SCAN |
-                       NL80211_RRF_NO_IBSS),
+               /* IEEE 802.11b/g, channels 1..11 */
+               REG_RULE(2412-10, 2462+10, 40, 6, 20, 0),
        }
 };