summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-13 12:22:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-10-13 12:22:48 +0000
commitb7204be37b0087fb0c6134f44c63d52459cc103e (patch)
treec147606fec7e14191b02748c44003e2d10219c1a
parent6144179d612a4b1e127f30db8f2817c6e5f6712b (diff)
downloadmtk-20170518-b7204be37b0087fb0c6134f44c63d52459cc103e.zip
mtk-20170518-b7204be37b0087fb0c6134f44c63d52459cc103e.tar.gz
mtk-20170518-b7204be37b0087fb0c6134f44c63d52459cc103e.tar.bz2
wifi: change the default channel from 5 to 11, 5 was a really bad choice
SVN-Revision: 23423
-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 2775a7b..9ee906d 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 e229217..183aa08 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 f022e26..a00cdee 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))"