parent
4db9556f99
commit
0739784fe8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue