aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap35xx
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2010-08-06 11:12:36 +0000
committerHamish Guthrie <hcg@openwrt.org>2010-08-06 11:12:36 +0000
commitb4ecc526cb745bd560d9c58c8fab2f3737558496 (patch)
tree090945c53ec765622e5c58f7b12a140a2161ffab /target/linux/omap35xx
parentd686422b5a96db81d1d0fa01e3bae28c629362c2 (diff)
downloadmaster-187ad058-b4ecc526cb745bd560d9c58c8fab2f3737558496.tar.gz
master-187ad058-b4ecc526cb745bd560d9c58c8fab2f3737558496.tar.bz2
master-187ad058-b4ecc526cb745bd560d9c58c8fab2f3737558496.zip
gumstix: Update wifi default settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22509 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap35xx')
-rw-r--r--target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
index 2c1625ba8c..7e53b62a37 100644
--- a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
+++ b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh
@@ -391,7 +391,7 @@ detect_mac80211() {
mode_11n=""
mode_band="g"
- channel="5"
+ channel="6"
ht_cap=0
for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
ht_cap="$(($ht_cap | $cap))"
@@ -418,7 +418,10 @@ config wifi-device radio$devidx
option type mac80211
option channel ${channel}
option macaddr $(cat /sys/class/net/wlan0/address)
+ option phy phy0
option hwmode 11${mode_11n}${mode_band}
+ option vifs radio0
+ option ifname wlan0
$ht_capab
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1