mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-12 21:53:23 +00:00
parent
4db9556f99
commit
0739784fe8
@ -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