madwifi: only set the desired mode for the first vap
SVN-Revision: 15059
This commit is contained in:
parent
2a59f52a0f
commit
5f09427160
1 changed files with 1 additions and 1 deletions
|
@ -120,10 +120,10 @@ enable_atheros() {
|
|||
*fh) hwmode=fh;;
|
||||
*) hwmode=auto;;
|
||||
esac
|
||||
iwpriv "$ifname" mode "$hwmode"
|
||||
iwpriv "$ifname" pureg "$pureg"
|
||||
|
||||
[ "$first" = 1 ] && {
|
||||
iwpriv "$ifname" mode "$hwmode"
|
||||
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue