summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-13 12:22:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-13 12:22:48 +0000
commit5067696d5eec55d0f7a270f1fb163b67227a97e1 (patch)
treeec2c913f588790dfaf847ecc81a99233896b1a11 /package
parent28ea12b3b334cd77895c287b4b264771ebf7b546 (diff)
wifi: change the default channel from 5 to 11, 5 was a really bad choice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23423 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/acx/files/lib/wifi/acx.sh2
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh2
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/acx/files/lib/wifi/acx.sh b/package/acx/files/lib/wifi/acx.sh
index 2775a7b1f..9ee906dd8 100644
--- a/package/acx/files/lib/wifi/acx.sh
+++ b/package/acx/files/lib/wifi/acx.sh
@@ -185,7 +185,7 @@ detect_acx() {
cat <<EOF
config wifi-device $dev
option type acx
- option channel 5
+ option channel 11
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index e22921732..183aa0886 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -363,7 +363,7 @@ detect_broadcom() {
cat <<EOF
config wifi-device wl${i}
option type broadcom
- option channel 5
+ option channel 11
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index f022e262d..a00cdee1b 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -404,7 +404,7 @@ detect_mac80211() {
mode_11n=""
mode_band="g"
- channel="5"
+ channel="11"
ht_cap=0
for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
ht_cap="$(($ht_cap | $cap))"