mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 20:05:31 +02:00
wifi: merge default channel change from r23423
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23433 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e24db8edb4
commit
41599382fc
@ -185,7 +185,7 @@ detect_acx() {
|
|||||||
cat <<EOF
|
cat <<EOF
|
||||||
config wifi-device $dev
|
config wifi-device $dev
|
||||||
option type acx
|
option type acx
|
||||||
option channel 5
|
option channel 11
|
||||||
|
|
||||||
# REMOVE THIS LINE TO ENABLE WIFI:
|
# REMOVE THIS LINE TO ENABLE WIFI:
|
||||||
option disabled 1
|
option disabled 1
|
||||||
|
@ -354,7 +354,7 @@ detect_broadcom() {
|
|||||||
cat <<EOF
|
cat <<EOF
|
||||||
config wifi-device wl${i}
|
config wifi-device wl${i}
|
||||||
option type broadcom
|
option type broadcom
|
||||||
option channel 5
|
option channel 11
|
||||||
|
|
||||||
# REMOVE THIS LINE TO ENABLE WIFI:
|
# REMOVE THIS LINE TO ENABLE WIFI:
|
||||||
option disabled 1
|
option disabled 1
|
||||||
|
@ -396,7 +396,7 @@ detect_mac80211() {
|
|||||||
|
|
||||||
mode_11n=""
|
mode_11n=""
|
||||||
mode_band="g"
|
mode_band="g"
|
||||||
channel="5"
|
channel="11"
|
||||||
ht_cap=0
|
ht_cap=0
|
||||||
for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
|
for cap in $(iw phy "$dev" info | grep 'Capabilities:' | cut -d: -f2); do
|
||||||
ht_cap="$(($ht_cap | $cap))"
|
ht_cap="$(($ht_cap | $cap))"
|
||||||
|
Loading…
Reference in New Issue
Block a user