wifi: merge default channel change from r23423
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 14 Oct 2010 00:17:07 +0000 (00:17 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 14 Oct 2010 00:17:07 +0000 (00:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23433 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/acx/files/lib/wifi/acx.sh
package/broadcom-wl/files/lib/wifi/broadcom.sh
package/mac80211/files/lib/wifi/mac80211.sh

index 2775a7b..9ee906d 100644 (file)
@@ -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
index bfb7ed2..51dc0e3 100644 (file)
@@ -354,7 +354,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
index 4390b65..499ef6f 100644 (file)
@@ -396,7 +396,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))"