diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-02-02 02:19:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-02-02 02:19:01 +0000 |
commit | 52c2e565dd53474cc8256e314a7357ef7b61292d (patch) | |
tree | efa1466dc11a65bb6c5bbd127f857a048f9de62d /package/mac80211/files/lib | |
parent | d44853204c6dd9385053d55c178bef042fa6e360 (diff) | |
download | upstream-52c2e565dd53474cc8256e314a7357ef7b61292d.tar.gz upstream-52c2e565dd53474cc8256e314a7357ef7b61292d.tar.bz2 upstream-52c2e565dd53474cc8256e314a7357ef7b61292d.zip |
mac80211: fix setup with more than 2 ap mode interfaces
SVN-Revision: 19494
Diffstat (limited to 'package/mac80211/files/lib')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 44082aa990..62b8e7ed3a 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -247,6 +247,7 @@ enable_mac80211() { # Hostapd will handle recreating the interface and # it's accompanying monitor apidx="$(($apidx + 1))" + i=$(($i + 1)) [ "$apidx" -gt 1 ] || iw phy "$phy" interface add "$ifname" type managed ;; mesh) |