mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 01:31:06 +02:00
fix madwifi channel setting (#2073)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8681 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
235b19acea
commit
6110f74266
@ -103,7 +103,7 @@ enable_atheros() {
|
||||
*a) agmode=11a;;
|
||||
*) agmode=auto;;
|
||||
esac
|
||||
iwconfig "$ifname" channel 0 >/dev/null 2>/dev/null
|
||||
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
|
||||
ifconfig "$ifname" up
|
||||
sleep 1
|
||||
iwpriv "$ifname" mode "$agmode"
|
||||
|
Loading…
x
Reference in New Issue
Block a user