mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
upgrade madwifi, finally fix the annoying ap auto channel selection bug, default to automatic channel selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10259 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -74,7 +74,9 @@ enable_atheros() {
|
||||
local device="$1"
|
||||
config_get channel "$device" channel
|
||||
config_get vifs "$device" vifs
|
||||
|
||||
|
||||
[ auto = "$channel" ] && channel=0
|
||||
|
||||
local first=1
|
||||
for vif in $vifs; do
|
||||
nosbeacon=
|
||||
@@ -306,7 +308,7 @@ detect_atheros() {
|
||||
cat <<EOF
|
||||
config wifi-device $dev
|
||||
option type atheros
|
||||
option channel 5
|
||||
option channel auto
|
||||
|
||||
# REMOVE THIS LINE TO ENABLE WIFI:
|
||||
option disabled 1
|
||||
|
||||
Reference in New Issue
Block a user