gumstix: Update wifi default settings
authorHamish Guthrie <hcg@openwrt.org>
Fri, 6 Aug 2010 11:12:36 +0000 (11:12 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Fri, 6 Aug 2010 11:12:36 +0000 (11:12 +0000)
SVN-Revision: 22509

target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh

index 2c1625ba8c8a76ebf6f5b67f33dac008629d1411..7e53b62a373b394ebe4f5fe357039df0c508d64f 100644 (file)
@@ -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