mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:34:04 +02:00
gumstix: Update wifi default settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22509 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e3efdd6ac7
commit
47e7657ec4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user